sane-project-website/old-archive/2001-04/0256.html

172 wiersze
6.0 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: Sane Compile on 2.4</TITLE>
<META NAME="Author" CONTENT="Brooklyn Linux Solutions CEO (ruben@mrbrklyn.com)">
<META NAME="Subject" CONTENT="Sane Compile on 2.4">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Sane Compile on 2.4</H1>
<!-- received="Tue Apr 24 10:04:00 2001" -->
<!-- isoreceived="20010424170400" -->
<!-- sent="Tue, 24 Apr 2001 08:15:27 -0400" -->
<!-- isosent="20010424121527" -->
<!-- name="Brooklyn Linux Solutions CEO" -->
<!-- email="ruben@mrbrklyn.com" -->
<!-- subject="Sane Compile on 2.4" -->
<!-- id="20010424081527.G11759@www2" -->
<STRONG>From:</STRONG> Brooklyn Linux Solutions CEO (<A HREF="mailto:ruben@mrbrklyn.com?Subject=Re:%20Sane%20Compile%20on%202.4&In-Reply-To=&lt;20010424081527.G11759@www2&gt;"><EM>ruben@mrbrklyn.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 24 2001 - 05:15:27 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0257.html">MaD dUCK: "scanjet 2100c"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0255.html">Henning Meier-Geinitz: "Re: SANE"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#256">[ date ]</A>
<A HREF="index.html#256">[ thread ]</A>
<A HREF="subject.html#256">[ subject ]</A>
<A HREF="author.html#256">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello
<BR>
<P>I had a working HP 5P scanner on SUse 7.0 which I compiled Sane-Backend by
<BR>
hand
<BR>
<P>I upgraded to 2.4 and SuSe 7.1 and now I get this error message with
<BR>
<P><P>scanimage -d hp:/dev/sga --format tiff --mode color &gt; /tmp/image.tif
<BR>
scanimage: sane_read: Error during device I/O
<BR>
<P><P>It works with lineart or default mode - whatever that is.
<BR>
<P>xsane says there is an i/o error
<BR>
<P>I decided to recompile the backend and it is croaking on this line with
<BR>
this error message:
<BR>
<P><P>make[1]: Entering directory `/home/ruben/sane-backends-1.0.4/sanei'
<BR>
rm -f .libs/sanei_scsi.lo
<BR>
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE
<BR>
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
<BR>
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W
<BR>
-Wall -DHAVE_DEV_URANDOM -DSCSIBUFFERSIZE=131072 sanei_scsi.c -fPIC -DPIC
<BR>
-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:127: redefinition of `struct sg_iovec'
<BR>
/usr/include/linux/../scsi/sg.h:130: warning: redefinition of `sg_iovec_t'
<BR>
/usr/include/scsi/sg.h:40: warning: `sg_iovec_t' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:134: redefinition of `struct sg_io_hdr'
<BR>
/usr/include/linux/../scsi/sg.h:158: warning: redefinition of `sg_io_hdr_t'
<BR>
/usr/include/scsi/sg.h:68: warning: `sg_io_hdr_t' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:188: redefinition of `struct sg_scsi_id'
<BR>
/usr/include/linux/../scsi/sg.h:199: redefinition of `struct sg_req_info'
<BR>
/usr/include/linux/../scsi/sg.h:209: warning: redefinition of
<BR>
`sg_req_info_t'
<BR>
/usr/include/scsi/sg.h:129: warning: `sg_req_info_t' previously declared
<BR>
here
<BR>
/usr/include/linux/../scsi/sg.h:289: warning: redefinition of `Sg_io_hdr'
<BR>
/usr/include/scsi/sg.h:209: warning: `Sg_io_hdr' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:290: warning: redefinition of `Sg_io_vec'
<BR>
/usr/include/scsi/sg.h:210: warning: `Sg_io_vec' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:291: warning: redefinition of `Sg_scsi_id'
<BR>
/usr/include/scsi/sg.h:211: warning: `Sg_scsi_id' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:292: warning: redefinition of `Sg_req_info'
<BR>
/usr/include/scsi/sg.h:212: warning: `Sg_req_info' previously declared here
<BR>
/usr/include/linux/../scsi/sg.h:302: redefinition of `struct sg_header'
<BR>
make[1]: *** [sanei_scsi.o] Error 1
<BR>
make[1]: Leaving directory `/home/ruben/sane-backends-1.0.4/sanei'
<BR>
make: *** [all-recursive] Error 1
<BR>
<P><P><P>It looks like a redefining of the scsi interfaces?
<BR>
<P>I looked at the mailing list and saw the not to cp libs to /usr/include
<BR>
...that seems to not to work.
<BR>
<P><P>Any clues?
<BR>
<P><P><P>Ruben
<BR>
<P><P><PRE>
--
Brooklyn Linux Solutions
<A HREF="http://www.mrbrklyn.com">http://www.mrbrklyn.com</A>
<A HREF="http://www.brooklynonline.com">http://www.brooklynonline.com</A>
<P>1-718-382-5752
<P>--
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:%20Sane%20Compile%20on%202.4&In-Reply-To=&lt;20010424081527.G11759@www2&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0257.html">MaD dUCK: "scanjet 2100c"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0255.html">Henning Meier-Geinitz: "Re: SANE"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#256">[ date ]</A>
<A HREF="index.html#256">[ thread ]</A>
<A HREF="subject.html#256">[ subject ]</A>
<A HREF="author.html#256">[ 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>Tue Apr 24 2001 - 10:05:40 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>