You are not logged in.
Pages: 1
I want to install TiLP for my TI-84+ calculator, so I do:
yaourt -S tilpin order to build it from the AUR. It goes through a few dependencies until I have to build libticables. During the build, I get an error:
gcc -march=native -O2 -pipe -D__I386__ -D__LINUX__ -fvisibility=hidden -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/test_ticables_2 test_ticables_2.o ../src/.libs/libticables2.so
../src/.libs/libticables2.so: undefined reference to `usb_debug'
../src/.libs/libticables2.so: undefined reference to `usb_error_type'
../src/.libs/libticables2.so: undefined reference to `usb_error_str'
collect2: ld returned 1 exit status
make[2]: *** [test_ticables_2] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-adetque/aur-libticables/src/libticables2-1.3.1/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-adetque/aur-libticables/src/libticables2-1.3.1'
make: *** [all] Error 2I have used Google, and I've found a few people with the same problem, but I haven't found any solutions. Any help as to getting this to build would be greatly appreciated. Thanks.
Last edited by Adetque (2011-03-16 00:56:08)
Offline
hello,
I am having the exact same issue, with the exact same error. I was wondering if you have found a solution. I also have used Google and found many people with this issue, but still can not find a workaround or fix. Have you had any luck?
Offline
No unfortunately. I looked at libusb, and it doesn't appear to have much in terms of conditional building.
Offline
There is a supposed to be a patch for this, but I havent got it working yet
https://bzattachment.mandriva.com/attac … i?id=17635
Last edited by Huulivoide (2011-03-15 20:23:38)
Offline
Libticables compiles with this modified patch and PKGBUILD!
# Maintainer: Jon Sturm <Jasturm002@aol.com>
# Contributor: mickael9 <mickael9 at gmail dot com>
pkgname=libticables
pkgver=1.3.1
pkgrel=2
pkgdesc="TI Link Cable Library"
arch=(i686 x86_64)
url="http://tilp.info/"
license="GPL"
depends=('libusb' 'glib2')
options=('force' '!libtool')
source=(http://lpg.ticalc.org/prj_tilp/download/libticables2-1.3.1.tar.bz2
http://www.pastie.org/pastes/1676226/download
69-libticables.rules)
build() {
cd ${srcdir}/${pkgname}2-${pkgver}
patch -Np0 -i '../download'
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
install -m755 -d ${pkgdir}/etc/udev/rules.d
install -m644 ${srcdir}/69-libticables.rules ${pkgdir}/etc/udev/rules.d/
}
md5sums=('a5086656a36172eb44e280b569c68b0c'
'6c5481fe7b2ad5cda4041308b90d5d6c'
'ed8dd523e68a9414aae078a1604005f7')My modified patch is the pastie source in the PKGBUILD.
EDIT: I tried using it. I get these errors when checking if the calculator is ready:
ticalcs-INFO: Checking hand-held status:
ticalcs-INFO: PC->TI: Buffer Size Request (1024 bytes)
(tilp:25970): ticables-WARNING **: usb_bulk_read (Bad file descriptor).
ticalcs-INFO: Checking hand-held status:
ticalcs-INFO: PC->TI: Buffer Size Request (1024 bytes)
(tilp:25970): ticables-WARNING **: usb_bulk_read (Bad file descriptor).
(tilp:25970): ticables-WARNING **: usb_clear_halt (Numerical result out of range).
(tilp:25970): ticables-WARNING **: usb_reset (No such file or directory).
tilp-INFO: tilp_device_err catched error 40followed by a GTK dialog that says:
Msg: unable to reset USB device.
Cause: Check that cable is connected or not stalled. Try to unplug/plug it.
System: No such file or directory (errno = 2)and another one that says:
Msg: error occured while reading to the device.
System: Bad file descriptor (errno = 9)Last edited by Adetque (2011-03-16 00:58:15)
Offline
Same errors as above.
Offline
Pages: 1