sane-project-website/old-archive/2001-06/0132.html

108 wiersze
4.2 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: Problem comiling Sane</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: Problem comiling Sane">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Problem comiling Sane</H1>
<!-- received="Sat Jun 9 02:34:52 2001" -->
<!-- isoreceived="20010609093452" -->
<!-- sent="Sat, 09 Jun 2001 11:40:21 +0200" -->
<!-- isosent="20010609094021" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: Problem comiling Sane" -->
<!-- id="E158fED-0005Q8-00@minerva" -->
<!-- inreplyto="Problem comiling Sane" -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20Problem%20comiling%20Sane&In-Reply-To=&lt;E158fED-0005Q8-00@minerva&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jun 09 2001 - 02:40:21 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0133.html">Henning Meier-Geinitz: "Re: Transmissive scanning"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0131.html">Henning Meier-Geinitz: "Re: Compiling on OS/2 and BUG"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0129.html">Maier Gerfried: "Problem comiling Sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0136.html">Maier Gerfried: "Re: Problem comiling Sane"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0136.html">Maier Gerfried: "Re: Problem comiling Sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#132">[ date ]</A>
<A HREF="index.html#132">[ thread ]</A>
<A HREF="subject.html#132">[ subject ]</A>
<A HREF="author.html#132">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
[Maier Gerfried]
<BR>
<EM>&gt; sanei_scsi.c:2262: storage size of `ssid' isn't known
</EM><BR>
<EM>&gt; sanei_scsi.c:2262: warning: unused variable `ssid'
</EM><BR>
[...]
<BR>
<EM>&gt; What could be a solution to this error?
</EM><BR>
<P>Checking sanei/sanei_scsi.c, the problem is this code:
<BR>
<P>&nbsp;&nbsp;#ifdef SG_GET_SCSI_ID
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;struct sg_scsi_id ssid;
<BR>
&nbsp;&nbsp;[...]
<BR>
&nbsp;&nbsp;#endif
<BR>
<P>Further up in the file, a comment specifies a different struct which
<BR>
is defined to make sure it is available on all Linux kernel versions.
<BR>
Which linux kernel are you using (uname -a)? Could you be missing the
<BR>
kernel header files?
<BR>
<P>The replacement struct is named 'struct xsg_scsi_id'. Try to replace
<BR>
'sg_scsi_id' with 'xsg_scsi_id' in line 2262, and see if it works.
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@hungry.com?Subject=Re:%20Problem%20comiling%20Sane&In-Reply-To=&lt;E158fED-0005Q8-00@minerva&gt;">pere@hungry.com</A>
<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:%20Problem%20comiling%20Sane&In-Reply-To=&lt;E158fED-0005Q8-00@minerva&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0133.html">Henning Meier-Geinitz: "Re: Transmissive scanning"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0131.html">Henning Meier-Geinitz: "Re: Compiling on OS/2 and BUG"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0129.html">Maier Gerfried: "Problem comiling Sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0136.html">Maier Gerfried: "Re: Problem comiling Sane"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0136.html">Maier Gerfried: "Re: Problem comiling Sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#132">[ date ]</A>
<A HREF="index.html#132">[ thread ]</A>
<A HREF="subject.html#132">[ subject ]</A>
<A HREF="author.html#132">[ 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 Jun 09 2001 - 02:35:03 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>