sane-project-website/old-archive/2001-01/0292.html

120 wiersze
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Compile problems</TITLE>
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
<META NAME="Subject" CONTENT="Re: Compile problems">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Compile problems</H1>
<!-- received="Sat Jan 27 09:46:41 2001" -->
<!-- isoreceived="20010127174641" -->
<!-- sent="Sat, 27 Jan 2001 12:42:31 -0500" -->
<!-- isosent="20010127174231" -->
<!-- name="Douglas Gilbert" -->
<!-- email="dgilbert@interlog.com" -->
<!-- subject="Re: Compile problems" -->
<!-- id="3A730887.5E1AB5E6@interlog.com" -->
<!-- inreplyto="3A72F941.8070508@silverfields.com" -->
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Compile%20problems&In-Reply-To=&lt;3A730887.5E1AB5E6@interlog.com&gt;"><EM>dgilbert@interlog.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jan 27 2001 - 09:42:31 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0293.html">Allan Engelhardt: "FireWire (i.Link / 1394) support?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0291.html">Timothy Reaves: "Compile problems"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0291.html">Timothy Reaves: "Compile problems"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#292">[ date ]</A>
<A HREF="index.html#292">[ thread ]</A>
<A HREF="subject.html#292">[ subject ]</A>
<A HREF="author.html#292">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Timothy Reaves wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I went to search to see if this had been reported, but I'm getting a
</EM><BR>
<EM>&gt; connection refused error.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I'm trying to compile 1.0.4 on a 2.2.18 kernel. This is where it stops:
</EM><BR>
<EM>&gt; gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE
</EM><BR>
<EM>&gt; -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share
</EM><BR>
<EM>&gt; -DV_MAJOR=1 -DV_MINOR=0 -O2 -march=i686 -W -Wall -DHAVE_DEV_URANDOM
</EM><BR>
<EM>&gt; -DSCSIBUFFERSIZE=131072 sanei_scsi.c -fPIC -DPIC -o .libs/sanei_scsi.lo
</EM><BR>
<EM>&gt; In file included from linux_sg3_err.h:4,
</EM><BR>
<EM>&gt; from sanei_scsi.c:230:
</EM><BR>
<EM>&gt; /usr/include/linux/../scsi/sg.h:102: redefinition of `struct sg_header'
</EM><BR>
<EM>&gt; /usr/include/linux/../scsi/sg.h:120: redefinition of `struct sg_scsi_id'
</EM><BR>
<EM>&gt; /usr/include/linux/../scsi/sg.h:130: warning: redefinition of `Sg_scsi_id'
</EM><BR>
<EM>&gt; /usr/include/scsi/sg.h:211: warning: `Sg_scsi_id' previously declared here
</EM><BR>
<EM>&gt; make[1]: *** [sanei_scsi.o] Error 1
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/usr/src/redhat/BUILD/sane-backends-1.0.4/sanei'
</EM><BR>
<EM>&gt; make: *** [all-recursive] Error 1
</EM><BR>
<EM>&gt; Bad exit status from /var/tmp/rpm-tmp.13768 (%build)
</EM><BR>
<P>In the file sane-backends-1.0.4/sanei/linux_sg3_err.h
<BR>
comment out (or remove) the line:
<BR>
&nbsp;#include &lt;linux/../scsi/sg.h&gt;
<BR>
<P>There is a better solution coming.
<BR>
<P>Doug Gilbert
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Compile%20problems&In-Reply-To=&lt;3A730887.5E1AB5E6@interlog.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0293.html">Allan Engelhardt: "FireWire (i.Link / 1394) support?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0291.html">Timothy Reaves: "Compile problems"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0291.html">Timothy Reaves: "Compile problems"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#292">[ date ]</A>
<A HREF="index.html#292">[ thread ]</A>
<A HREF="subject.html#292">[ subject ]</A>
<A HREF="author.html#292">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Jan 27 2001 - 09:47:38 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>