sane-project-website/old-archive/2000-03/0123.html

114 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: Re: sane 1.0.2 compile problem with AIX 432</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: sane 1.0.2 compile problem with AIX 432">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: sane 1.0.2 compile problem with AIX 432</H1>
<!-- received="Mon Mar 13 23:37:46 2000" -->
<!-- isoreceived="20000314073746" -->
<!-- sent="Tue, 14 Mar 2000 15:43:12 +0800" -->
<!-- isosent="20000314074312" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: sane 1.0.2 compile problem with AIX 432" -->
<!-- id="200003140743.PAA15964@xena.ee.uwa.edu.au" -->
<!-- inreplyto="sane 1.0.2 compile problem with AIX 432" -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20sane%201.0.2%20compile%20problem%20with%20AIX%20432&In-Reply-To=&lt;200003140743.PAA15964@xena.ee.uwa.edu.au&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Mar 13 2000 - 23:43:12 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0124.html">David Paschal: "Re: Can you advise on All-In-One machines (incl. scanner!)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0122.html">Petter Reinholdtsen: "Backend page on www.mostang.com"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0121.html">Robert Nadot: "sane 1.0.2 compile problem with AIX 432"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0197.html">Petter Reinholdtsen: "Re: sane 1.0.2 compile problem with AIX 432"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#123">[ date ]</A>
<A HREF="index.html#123">[ thread ]</A>
<A HREF="subject.html#123">[ subject ]</A>
<A HREF="author.html#123">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I'm not sure what is going on in your case, but the following patch
<BR>
should solve part of the problem.
<BR>
<P>I'm not sure why the compiler decided to use LINUX_INTERFACE on your
<BR>
AIX machine, and you probably want to investigate that as well.
<BR>
<P>Index: sanei_scsi.c
<BR>
===================================================================
<BR>
RCS file: /cvsroot/external/sane/sanei/sanei_scsi.c,v
<BR>
retrieving revision 1.2
<BR>
diff -u -r1.2 sanei_scsi.c
<BR>
--- sanei_scsi.c 2000/03/05 13:57:15 1.2
<BR>
+++ sanei_scsi.c 2000/03/14 07:40:58
<BR>
@@ -733,7 +733,7 @@
<BR>
&nbsp;&nbsp;&nbsp;char *real_dev = 0;
<BR>
&nbsp;&nbsp;&nbsp;void *pdata = 0;
<BR>
&nbsp;&nbsp;&nbsp;int fd;
<BR>
-#ifdef __linux__
<BR>
+#if USE == LINUX_INTERFACE
<BR>
&nbsp;&nbsp;&nbsp;static int first_time = 1;
<BR>
&nbsp;#endif
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20sane%201.0.2%20compile%20problem%20with%20AIX%20432&In-Reply-To=&lt;200003140743.PAA15964@xena.ee.uwa.edu.au&gt;">pere@td.org.uit.no</A>
O- &lt;SCRIPT Language=&quot;Javascript&quot;&gt;window.close()&lt;/SCRIPT&gt;
<A HREF="http://www.hungry.com/~pere/">http://www.hungry.com/~pere/</A> | Go Mozilla, go! Go!
<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%201.0.2%20compile%20problem%20with%20AIX%20432&In-Reply-To=&lt;200003140743.PAA15964@xena.ee.uwa.edu.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0124.html">David Paschal: "Re: Can you advise on All-In-One machines (incl. scanner!)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0122.html">Petter Reinholdtsen: "Backend page on www.mostang.com"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0121.html">Robert Nadot: "sane 1.0.2 compile problem with AIX 432"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0197.html">Petter Reinholdtsen: "Re: sane 1.0.2 compile problem with AIX 432"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#123">[ date ]</A>
<A HREF="index.html#123">[ thread ]</A>
<A HREF="subject.html#123">[ subject ]</A>
<A HREF="author.html#123">[ 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 Mar 13 2000 - 23:38:05 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>