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

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


Thank you very much. The SANE RPM compiled now, with libusb. So Mandrake 
10.0 will have the hp4200 backend and it will get tested as part of the 
Cooker (development version, approaching the 10.0 release). I by myself 
cannot test as I donīt have an HP ScanJet 4200.

    Till

Adrian Perez Jorge wrote:
> 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
>>
>>
>>
> 
> 
>