I have just downloaded the 1.0.2 source and was compiling it when this
error popped up:
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/pack-linux86/sane-1.0.2/etc/sane.d -DPATH_SANE_DATA_DIR=/pack-linux86/sane-1.0.2/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -DSCSIBUFFERSIZE=131072 sanei_scsi.c -fPIC -DPIC -o .libs/sanei_scsi.lo
In file included from linux_sg3_err.h:4,
/usr/include/linux/../scsi/sg.h:100: redefinition of `struct sg_header'
/usr/include/linux/../scsi/sg.h:118: redefinition of `struct sg_scsi_id'
/usr/include/linux/../scsi/sg.h:128: warning: redefinition of `Sg_scsi_id'
/usr/include/scsi/sg.h:211: warning: `Sg_scsi_id' previously declared here
make: *** [sanei_scsi.o] Error 1
make: Leaving directory `/pack-linux86/sane-1.0.2/src/sane-1.0.2/sanei'
make: *** [all-recursive] Error 1
I have run "./configure --prefix=/pack-linux86/sane-1.0.2" followed by
make. I am using the 2.2.16 kernel and have enabled SCSI support.
Any ideas to what could be the problem?
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail email@example.com
This archive was generated by hypermail 2b29 : Thu Jul 20 2000 - 04:30:16 PDT