Compile error

From: Malcolm White (mwhite@whcomp.com)
Date: Fri Mar 23 2001 - 22:27:29 PST

  • Next message: Peter Kirchgessner: "Re: HP ScanJet Plus woes"

    Hi,

    I keep getting the following error when trying to compile the sane-backend 1.0.4
    on a Slackware Current 2.2.18 kernel with usb.

    In file included from linux_sg3_err.h:4,
                     from sanei_scsi.c:230:
    /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 `/tmp/sane-backends-1.0.4/sanei'
    make: *** [all-recursive] Error 1

    Can anyone help.

    Thanks,

    Malcolm

    --
    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 : Fri Mar 23 2001 - 22:19:03 PST