sane-project-website/old-archive/1998-11/0299.html

87 wiersze
3.7 KiB
HTML

<!-- received="Mon Nov 30 15:40:02 1998 PST" -->
<!-- sent="Mon, 30 Nov 1998 22:39:36 +0100 (MET)" -->
<!-- name="becka@rz.uni-duesseldorf.de" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="solution for sane 1.0.0 compilation errors (fwd)" -->
<!-- id="m0zkb2e-000CFjC@hades.beck-sw.de" -->
<!-- inreplyto="" -->
<title>sane-devel: solution for sane 1.0.0 compilation errors (fwd)</title>
<h1>solution for sane 1.0.0 compilation errors (fwd)</h1>
<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a><br>
<i>Mon, 30 Nov 1998 22:39:36 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#299">[ date ]</a><a href="index.html#299">[ thread ]</a><a href="subject.html#299">[ subject ]</a><a href="author.html#299">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0300.html">Bert van Leeuwen: "Genius parallel port scanner"</a>
<li> <b>Previous message:</b> <a href="0298.html">John Brush: "Microtek E3 and sane OS/2, anyone??"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi - I got a fix report in PM:<br>
<p>
Forwarded message:<br>
<i>&gt; From <a href="mailto:Remco.vdBerg@ehv.sc.philips.com">Remco.vdBerg@ehv.sc.philips.com</a> Mon Nov 30 15:14:10 1998</i><br>
<i>&gt; From: Remco van den Berg &lt;<a href="mailto:Remco.vdBerg@ehv.sc.philips.com">Remco.vdBerg@ehv.sc.philips.com</a>&gt;</i><br>
<i>&gt; Organization: Philips Semiconductors B.V.</i><br>
<i>&gt; </i><br>
<i>&gt; Andreas,</i><br>
<i>&gt; </i><br>
<i>&gt; I had to make some modification in the SANE source code to be able to</i><br>
<i>&gt; compile it under Linux.</i><br>
<i>&gt; (I once started with a Slackware distribution, but now it's more like</i><br>
<i>&gt; a self-made unix environment.)</i><br>
<i>&gt; </i><br>
<i>&gt; Included in the file ./include/sane/sanei.h:</i><br>
<i>&gt; --------------------------------------------</i><br>
<i>&gt; </i><br>
<i>&gt; /* patched by Remco, 30-11-1998: */</i><br>
<i>&gt; #ifndef HAVE_STRNDUP</i><br>
<i>&gt; #include &lt;stdlib.h&gt;</i><br>
<i>&gt; #include &lt;string.h&gt;</i><br>
<i>&gt; #include &lt;sys/types.h&gt;</i><br>
<i>&gt; extern char *strndup (const char * s, size_t n);</i><br>
<i>&gt; #endif /* !HAVE_STRNDUP */</i><br>
<i>&gt; /* end patch */</i><br>
<i>&gt; </i><br>
<i>&gt; Changed in the file ./backend/abaton.c:</i><br>
<i>&gt; ---------------------------------------</i><br>
<i>&gt; </i><br>
<i>&gt; /* changed by Remco, 30-11-1998 */</i><br>
<i>&gt; /* s-&gt;val[OPT_X_RESOLUTION] = *(SANE_Word *)val; */</i><br>
<i>&gt; s-&gt;val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;</i><br>
<i>&gt; </i><br>
<i>&gt; Some remarks:</i><br>
<i>&gt; -------------</i><br>
<i>&gt; </i><br>
<i>&gt; 1) I looked at it because a friend of mine had problems compiling the</i><br>
<i>&gt; SANE code.</i><br>
<i>&gt; 2) I don't have a SCSI scanner, so I haven't tested the modifications.</i><br>
<i>&gt; 3) I didn't compile the GTK related software parts.</i><br>
<i>&gt; </i><br>
<i>&gt; Regards,</i><br>
<i>&gt; </i><br>
<i>&gt; -Remco van den Berg</i><br>
<p>
CU, ANdy<br>
<p>
<pre>
--
= Andreas Beck | Email : &lt;<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>&gt; =
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0300.html">Bert van Leeuwen: "Genius parallel port scanner"</a>
<li> <b>Previous message:</b> <a href="0298.html">John Brush: "Microtek E3 and sane OS/2, anyone??"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>