Compile problems

From: Timothy Reaves (treaves@silverfields.com)
Date: Sat Jan 27 2001 - 08:37:21 PST

  • Next message: Douglas Gilbert: "Re: Compile problems"

            I went to search to see if this had been reported, but I'm getting a
    connection refused error.

            I'm trying to compile 1.0.4 on a 2.2.18 kernel. This is where it stops:
    gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE
    -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share
    -DV_MAJOR=1 -DV_MINOR=0 -O2 -march=i686 -W -Wall -DHAVE_DEV_URANDOM
    -DSCSIBUFFERSIZE=131072 sanei_scsi.c -fPIC -DPIC -o .libs/sanei_scsi.lo
    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 `/usr/src/redhat/BUILD/sane-backends-1.0.4/sanei'
    make: *** [all-recursive] Error 1
    Bad exit status from /var/tmp/rpm-tmp.13768 (%build)

            Any advice?

    --
    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 : Sat Jan 27 2001 - 08:43:19 PST