sane-project-website/old-archive/2000-07/0175.html

105 wiersze
4.5 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: trouble compiling sane-1.0.2 on linux</TITLE>
<META NAME="Author" CONTENT="Bernhard Mogens Ege (bme@vision.auc.dk)">
<META NAME="Subject" CONTENT="trouble compiling sane-1.0.2 on linux">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>trouble compiling sane-1.0.2 on linux</H1>
<!-- received="Thu Jul 20 04:24:56 2000" -->
<!-- isoreceived="20000720112456" -->
<!-- sent="Thu, 20 Jul 2000 13:27:45 +0200 (MET DST)" -->
<!-- isosent="20000720112745" -->
<!-- name="Bernhard Mogens Ege" -->
<!-- email="bme@vision.auc.dk" -->
<!-- subject="trouble compiling sane-1.0.2 on linux" -->
<!-- id="14710.57905.799486.232700@aegir.vision.auc.dk" -->
<STRONG>From:</STRONG> Bernhard Mogens Ege (<A HREF="mailto:bme@vision.auc.dk?Subject=Re:%20trouble%20compiling%20sane-1.0.2%20on%20linux&In-Reply-To=&lt;14710.57905.799486.232700@aegir.vision.auc.dk&gt;"><EM>bme@vision.auc.dk</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jul 20 2000 - 04:27:45 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0174.html">Bernd Schroeder: "Re: please help. Microtek v300 device I/O error"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#175">[ date ]</A>
<A HREF="index.html#175">[ thread ]</A>
<A HREF="subject.html#175">[ subject ]</A>
<A HREF="author.html#175">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I have just downloaded the 1.0.2 source and was compiling it when this
<BR>
error popped up:
<BR>
<P>gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/pack-linux86/sane-1.0.2/etc/sane.d -DPATH_SANE_DATA_DIR=/pack-linux86/sane-1.0.2/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -DSCSIBUFFERSIZE=131072 sanei_scsi.c -fPIC -DPIC -o .libs/sanei_scsi.lo
<BR>
In file included from linux_sg3_err.h:4,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from sanei_scsi.c:230:
<BR>
/usr/include/linux/../scsi/sg.h:100: redefinition of `struct sg_header'
<BR>
/usr/include/linux/../scsi/sg.h:118: redefinition of `struct sg_scsi_id'
<BR>
/usr/include/linux/../scsi/sg.h:128: warning: redefinition of `Sg_scsi_id'
<BR>
/usr/include/scsi/sg.h:211: warning: `Sg_scsi_id' previously declared here
<BR>
make[1]: *** [sanei_scsi.o] Error 1
<BR>
make[1]: Leaving directory `/pack-linux86/sane-1.0.2/src/sane-1.0.2/sanei'
<BR>
make: *** [all-recursive] Error 1
<BR>
<P>I have run &quot;./configure --prefix=/pack-linux86/sane-1.0.2&quot; followed by
<BR>
make. I am using the 2.2.16 kernel and have enabled SCSI support.
<BR>
<P>Any ideas to what could be the problem?
<BR>
<P>regards,
<BR>
<P>Bernhard Ege
<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:%20trouble%20compiling%20sane-1.0.2%20on%20linux&In-Reply-To=&lt;14710.57905.799486.232700@aegir.vision.auc.dk&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0174.html">Bernd Schroeder: "Re: please help. Microtek v300 device I/O error"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0176.html">abel deuring: "Re: trouble compiling sane-1.0.2 on linux"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#175">[ date ]</A>
<A HREF="index.html#175">[ thread ]</A>
<A HREF="subject.html#175">[ subject ]</A>
<A HREF="author.html#175">[ 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>Thu Jul 20 2000 - 04:30:16 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>