[sane-devel] HP ScanJet 4200 backend ("hp4200") and SANE 1.0.13

Till Kamppeter till.kamppeter@gmx.net
Thu, 11 Dec 2003 20:27:01 +0000

Julien BLACHE wrote:
> Till Kamppeter <till.kamppeter@gmx.net> wrote:
>>Thanks for the patch, but it seems to need more adaptation:
>>i586-mandrake-linux-gnu-gcc -o gamma4scanimage gamma4scanimage.o
>>-L/usr/lib -lm
>>i586-mandrake-linux-gnu-gcc -c -O2 -fomit-frame-pointer -pipe
>>-march=i586 -mcpu=pentiumpro -W -Wall -DHAVE_CONFIG_H
>>-I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d
>>-DPATH_SANE_DATA_DIR=/usr/share         -DV_MAJOR=1 -DV_MINOR=0
>>-I/usr/include/gphoto2 -I/usr/include hp4200offd.c
>>i586-mandrake-linux-gnu-gcc -o hp4200offd hp4200offd.o
>>../backend/.libs/lm9830.o  -L/usr/lib ../sanei/libsanei.a
>>../sanei/libsanei.a(sanei_usb.o)(.text+0x561): In function `sanei_usb_init':
>>: undefined reference to `usb_init'
> It needs libusb.

Thanks, but I have libusb and the appropriate -devel package installed 
and the other backends get correctly compiled with libusb. A complete 
log of my attemt to build an RPM of SANE 1.0.13 (contains the screen 
output of "./configure" and "make") you can find on