On Thursday 19 February 2009 15:09:12 Julien BLACHE wrote: > Hi, > > > Modified: ChangeLog configure configure.in include/sane/config.h.in > > sanei/sanei_usb.c tools/check-usb-chip.c > > tools/sane-find-scanner.c > > > > Add support for libusb-1.0. > > So, it's in. A few things to know: > - ./configure --enable-libusb_1_0 > - it will fall back to libusb if libusb-1.0 is not available > - libusb remains the default because (1) nobody besides me has tested > it yet (2) libusb-1.0 only works on Linux at the moment > - sane-find-scanner loses the -F option when built with libusb-1.0; > the way it's implemented with libusb is not portable to libusb-1.0 > - check-usb-chip has not been ported to libusb-1.0; there's no easy > way to port it, and duplicating some 3500 lines of code is stupid, > so for now it'll remain libusb-only. It'll be ported at some point > in the future, probably when libusb-1.0 will be the default.
I'm getting an error in sane-find-scanner.c after updating sources from CVS: gcc -g -O2 -W -Wall -o sane-find-scanner sane-find-scanner.o check-usb-chip.o sane_strstatus.o ../sanei/.libs/libsanei.a /usr/lib/libusb.so sane-find-scanner.o: In function `check_libusb_device': /home/jkd/hp3900-series-190209-1542/src/sane-backends/tools/sane-find-scanner.c:666: undefined reference to `check_usb_chip' collect2: ld returned 1 exit status I've attached entire log. Jonathan Bravo Lopez -------------- next part -------------- A non-text attachment was scrubbed... Name: sanecomp.log Type: text/x-log Size: 62677 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090219/5aee1f8a/attachment-0001.bin
