Bruce Ferrell wrote:
>
> Hi all,
>
> I took a look 'round the arive before sending this.
>
> My system is Slackware 7.+ running glibc-2.2.2
>
> This is the error I get when I do a make:
>
> /usr/include/linux/../scsi/sg.h:102: redefinition of `struct sg_header'
> /usr/include/linux/../scsi/sg.h:120: redefinition of `struct sg_scsi_id'
> /usr/include/linux/../scsi/sg.h:130: warning: redefinition of
> `Sg_scsi_id'
> /usr/include/scsi/sg.h:211: warning: `Sg_scsi_id' previously declared
> here
> make[1]: *** [sanei_scsi.o] Error 1
> make[1]: Leaving directory `/usr/local/src/sane-backends-1.0.4/sanei'
> make: *** [all-recursive] Error 1
>
> Any suggestions?
In the sanei/linux_sg3_err.h file comment out (or remove)
the includes on the 3rd and 4th lines.
Doug Gilbert
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Wed Apr 11 2001 - 20:05:45 PDT