sane-project-website/old-archive/2001-05/0273.html

110 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: error compiling sane-backends-1.0.4</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: error compiling sane-backends-1.0.4">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: error compiling sane-backends-1.0.4</H1>
<!-- received="Mon, 21 May 2001 20:23:40 +0200" -->
<!-- isoreceived="20010521182340" -->
<!-- sent="Mon, 21 May 2001 20:23:40 +0200" -->
<!-- isosent="20010521182340" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: error compiling sane-backends-1.0.4" -->
<!-- id="20010521202340.C23383@vortex.swb.de" -->
<!-- inreplyto="200105202314.f4KNEt309671@pete6.pjrnet.com" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20error%20compiling%20sane-backends-1.0.4&In-Reply-To=&lt;20010521202340.C23383@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon May 21 2001 - 11:23:40 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0274.html">Henning Meier-Geinitz: "Re: Calibration algorithms"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0272.html">Matto Marjanovic: "Re: Polaroid SprintScan 35 LE"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0260.html">Pete Rossi: "error compiling sane-backends-1.0.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0285.html">Pete Rossi: "Re: error compiling sane-backends-1.0.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#273">[ date ]</A>
<A HREF="index.html#273">[ thread ]</A>
<A HREF="subject.html#273">[ subject ]</A>
<A HREF="author.html#273">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sun, May 20, 2001 at 07:14:55PM -0400, Pete Rossi wrote:
<BR>
<EM>&gt; gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -DHAVE_DEV_URANDOM -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>
<P>[...]
<BR>
<P>I think the following may be the problem:
<BR>
From a mail from Doug Gilbert:
<BR>
<P>| In the file sane-backends-1.0.4/sanei/linux_sg3_err.h
<BR>
| comment out (or remove) the line:
<BR>
| #include &lt;linux/../scsi/sg.h&gt;
<BR>
&nbsp;
<BR>
Or use an unofficial snapshot from
<BR>
<A HREF="http://www.meier-geinitz.de/sane/download.html">http://www.meier-geinitz.de/sane/download.html</A> . This is fixed in CVS
<BR>
and the fix will be in SANE 1.0.5.
<BR>
<P>Ciao,
<BR>
&nbsp;&nbsp;Henning
<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:%20error%20compiling%20sane-backends-1.0.4&In-Reply-To=&lt;20010521202340.C23383@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0274.html">Henning Meier-Geinitz: "Re: Calibration algorithms"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0272.html">Matto Marjanovic: "Re: Polaroid SprintScan 35 LE"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0260.html">Pete Rossi: "error compiling sane-backends-1.0.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0285.html">Pete Rossi: "Re: error compiling sane-backends-1.0.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#273">[ date ]</A>
<A HREF="index.html#273">[ thread ]</A>
<A HREF="subject.html#273">[ subject ]</A>
<A HREF="author.html#273">[ 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>Mon May 21 2001 - 11:23:32 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>