sane-project-website/old-archive/2001-03/0190.html

116 wiersze
3.9 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 error</TITLE>
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
<META NAME="Subject" CONTENT="Re: Compile error">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Compile error</H1>
<!-- received="Sat Mar 24 07:24:24 2001" -->
<!-- isoreceived="20010324152424" -->
<!-- sent="Sat, 24 Mar 2001 10:33:44 -0500" -->
<!-- isosent="20010324153344" -->
<!-- name="Douglas Gilbert" -->
<!-- email="dgilbert@interlog.com" -->
<!-- subject="Re: Compile error" -->
<!-- id="3ABCBE58.E56A874E@interlog.com" -->
<!-- inreplyto="1.5.4.32.20010324062729.0088dc9c@mail.whitehouseprod.com.au" -->
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Compile%20error&In-Reply-To=&lt;3ABCBE58.E56A874E@interlog.com&gt;"><EM>dgilbert@interlog.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Mar 24 2001 - 07:33:44 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0191.html">Jim Ford: "Colour matching"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0189.html">Peter Kirchgessner: "Re: HP ScanJet Plus woes"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0188.html">Malcolm White: "Compile error"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#190">[ date ]</A>
<A HREF="index.html#190">[ thread ]</A>
<A HREF="subject.html#190">[ subject ]</A>
<A HREF="author.html#190">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Malcolm White wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I keep getting the following error when trying to compile the sane-backend 1.0.4
</EM><BR>
<EM>&gt; on a Slackware Current 2.2.18 kernel with usb.
</EM><BR>
<EM>&gt;
</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
</EM><BR>
<EM>&gt; here
</EM><BR>
<EM>&gt; make[1]: *** [sanei_scsi.o] Error 1
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/tmp/sane-backends-1.0.4/sanei'
</EM><BR>
<EM>&gt; make: *** [all-recursive] Error 1
</EM><BR>
&nbsp;
<BR>
Malcolm,
<BR>
In file sane-backends-1.0.4/sanei/linux_sg3_err.h comment
<BR>
out the 2 includes (on lines 3 and 4). I believe that
<BR>
this is fixed in SANE's CVS.
<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%20error&In-Reply-To=&lt;3ABCBE58.E56A874E@interlog.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0191.html">Jim Ford: "Colour matching"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0189.html">Peter Kirchgessner: "Re: HP ScanJet Plus woes"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0188.html">Malcolm White: "Compile error"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#190">[ date ]</A>
<A HREF="index.html#190">[ thread ]</A>
<A HREF="subject.html#190">[ subject ]</A>
<A HREF="author.html#190">[ 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 Mar 24 2001 - 07:26:27 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>