[sane-devel] failing attempt to make sane-backends-1.0.18

Julien Michielsen julien at michkloo.xs4all.nl
Sat Jan 13 19:52:15 CET 2007


Today I started an attemp to install a self-made xsane, bit allready 
failed in the attempt to make sane-backends-1.0.18 .
This is my first attempt of a "home-install" xsane. Before I obediently 
installed the ready-made rpm's that came with my SuSE distribution, but 
this time (SuSE 10.2) the system was unable to install. On january 1st I 
posted a message to this list ("Anyone aware of mfpport.ko?"). The xsane 
version that comes with SuSE 10.2 only gives "insmod: can't read
'/lib/modules/2.6.18.2-34-default/kernel/drivers/mfpportctrl/mfpport.ko'", 
and subsequently dies. I posted this to the suse-bugs list, but still 
got no reply.
So now I tries it myself, but already in the make process it bumps out.
My motherboard Asus 8N-E with an Athlon 64+ processor.
Scanner Epson Perfection 2580 fotoscan
The make-process appearantly breaks when it compiles sanei_scsi.c, which 
in it's turn uses rsm_open_device. The compiler warns
"sanei_scsi.c:781: warning: 'rsm_open_device' is deprecated (declared at 
/usr/include/resmgr.h:24)"

the messages:

gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT 
-DPATH_SAN
E_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share
           -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane 
-DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall sanei_codec_bin.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share
           -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane 
-DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall sanei_scsi.c
sanei_scsi.c: In function 'get_max_buffer_size':
sanei_scsi.c:781: warning: 'rsm_open_device' is deprecated (declared at 
/usr/include/resmgr.h:24)
sanei_scsi.c: In function 'sanei_scsi_open_extended':
sanei_scsi.c:1245: warning: 'rsm_open_device' is deprecated (declared at 
/usr/include/resmgr.h:24)
sanei_scsi.c:1276: error: 'HZ' undeclared (first use in this function)
sanei_scsi.c:1276: error: (Each undeclared identifier is reported only once
sanei_scsi.c:1276: error: for each function it appears in.)
sanei_scsi.c: In function 'lx_mk_devicename':
sanei_scsi.c:2491: warning: 'rsm_open_device' is deprecated (declared at 
/usr/include/resmgr.h:24)
sanei_scsi.c: In function 'sanei_scsi_find_devices':
sanei_scsi.c:2775: warning: assignment discards qualifiers from pointer 
target type
make[1]: *** [sanei_scsi.o] Error 1
make[1]: Leaving directory `/home/julien/local/sane-backends-1.0.18/sanei'
make: *** [all-recursive] Error 1

Anyone who might be able to help me getting rhis installed?
Thanks

Julien


-- 
Julien Michielsen




More information about the sane-devel mailing list