kopia lustrzana https://gitlab.com/sane-project/website
87 wiersze
3.7 KiB
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>> 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>> From: Remco van den Berg <<a href="mailto:Remco.vdBerg@ehv.sc.philips.com">Remco.vdBerg@ehv.sc.philips.com</a>></i><br>
|
|
<i>> Organization: Philips Semiconductors B.V.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Andreas,</i><br>
|
|
<i>> </i><br>
|
|
<i>> I had to make some modification in the SANE source code to be able to</i><br>
|
|
<i>> compile it under Linux.</i><br>
|
|
<i>> (I once started with a Slackware distribution, but now it's more like</i><br>
|
|
<i>> a self-made unix environment.)</i><br>
|
|
<i>> </i><br>
|
|
<i>> Included in the file ./include/sane/sanei.h:</i><br>
|
|
<i>> --------------------------------------------</i><br>
|
|
<i>> </i><br>
|
|
<i>> /* patched by Remco, 30-11-1998: */</i><br>
|
|
<i>> #ifndef HAVE_STRNDUP</i><br>
|
|
<i>> #include <stdlib.h></i><br>
|
|
<i>> #include <string.h></i><br>
|
|
<i>> #include <sys/types.h></i><br>
|
|
<i>> extern char *strndup (const char * s, size_t n);</i><br>
|
|
<i>> #endif /* !HAVE_STRNDUP */</i><br>
|
|
<i>> /* end patch */</i><br>
|
|
<i>> </i><br>
|
|
<i>> Changed in the file ./backend/abaton.c:</i><br>
|
|
<i>> ---------------------------------------</i><br>
|
|
<i>> </i><br>
|
|
<i>> /* changed by Remco, 30-11-1998 */</i><br>
|
|
<i>> /* s->val[OPT_X_RESOLUTION] = *(SANE_Word *)val; */</i><br>
|
|
<i>> s->val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;</i><br>
|
|
<i>> </i><br>
|
|
<i>> Some remarks:</i><br>
|
|
<i>> -------------</i><br>
|
|
<i>> </i><br>
|
|
<i>> 1) I looked at it because a friend of mine had problems compiling the</i><br>
|
|
<i>> SANE code.</i><br>
|
|
<i>> 2) I don't have a SCSI scanner, so I haven't tested the modifications.</i><br>
|
|
<i>> 3) I didn't compile the GTK related software parts.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Regards,</i><br>
|
|
<i>> </i><br>
|
|
<i>> -Remco van den Berg</i><br>
|
|
<p>
|
|
CU, ANdy<br>
|
|
<p>
|
|
<pre>
|
|
--
|
|
= Andreas Beck | Email : <<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>> =
|
|
<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>
|