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

Adrian Perez Jorge adrianpj@users.sourceforge.net
Thu, 11 Dec 2003 19:36:36 +0000


Hey!  Wait a bit! ;)

   I did not tested the compilation with libusb support, sorry.  I have 
now tested both: compiling sane with libusb support and without it and 
you can now download again the corrected patch at the same location:

        
http://hp4200-backend.sourceforge.net/sane-backends-1.0.13-hp4200-0.4.patch.gz

  Excuse me for the inconveniences.

Cheers,

 Adrian.

Till Kamppeter wrote:

> 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
>
> http://www.linuxprinting.org/till/tmp/sane-1.0.13-hp4200-compile.log
>
>    Till
>
>
>