sane-project-website/old-archive/1999-04/0215.html

217 wiersze
9.9 KiB
HTML
Czysty Wina Historia

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon Apr 12 16:27:48 1999 PDT" -->
<!-- sent="Tue, 13 Apr 1999 01:34:08 +0200" -->
<!-- name="Laurent GRAWET" -->
<!-- email="laurent.grawet@europe.com" -->
<!-- subject="Re: Which libraries are needed to compile ?" -->
<!-- id="" -->
<!-- inreplyto="Which libraries are needed to compile ?" -->
<title>sane-devel: Re: Which libraries are needed to compile ?</title>
<h1>Re: Which libraries are needed to compile ?</h1>
<b>Laurent GRAWET</b> (<a href="mailto:laurent.grawet@europe.com"><i>laurent.grawet@europe.com</i></a>)<br>
<i>Tue, 13 Apr 1999 01:34:08 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#215">[ date ]</a><a href="index.html#215">[ thread ]</a><a href="subject.html#215">[ subject ]</a><a href="author.html#215">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0216.html">Bjoern Buerger: "Re: Mustek1200SP Firmware-1.05 same with FW-1.2"</a>
<li> <b>Previous message:</b> <a href="0214.html">Jochen Baltes: "Re: Mustek1200SP Firmware-1.05 same with FW-1.2"</a>
<li> <b>Maybe in reply to:</b> <a href="0207.html">Laurent GRAWET: "Which libraries are needed to compile ?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Dr. Andreas Bolsch wrote:<br>
<i>&gt; </i><br>
<i>&gt; What do you mean by 'errors in config.log' ??? If there are just</i><br>
<i>&gt; some searches answered with 'no': That's (usually) not an error.</i><br>
<i>&gt; Just the opposite. Configure's duty is precisely to take care of</i><br>
<i>&gt; these platform dependencies and to supply a workaround.</i><br>
<i>&gt; </i><br>
<i>&gt; If 'make' exits sucessfully then there is probably nothing missing.</i><br>
<i>&gt; scanimage depends only on standard stuff, so if compiles but</i><br>
<i>&gt; doesn't work then you've got a problem with the SCSI interface/driver</i><br>
<i>&gt; or the scanner/backend, but not with any missing library.</i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<p>
Here's some kind of errors I get (I don't think it's normal !?!)<br>
<p>
configure:1221: checking for working const<br>
configure:1275: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:1249: warning: unused variable `s'<br>
configure:1269: warning: unused variable `foo'<br>
configure:1237: warning: unused variable `zero'<br>
configure:1231: warning: unused variable `x'<br>
configure:1248: warning: `t' might be used uninitialized in this<br>
function<br>
configure:1266: warning: `b' might be used uninitialized in this<br>
function<br>
configure:1296: checking for inline<br>
configure:1310: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:1306: warning: control reaches end of non-void function<br>
configure: At top level:<br>
configure:1306: warning: return-type defaults to `int'<br>
configure:1336: checking return type of signal handlers<br>
configure:1358: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:1354: warning: unused variable `i'<br>
configure:1377: checking for size_t<br>
configure:1410: checking for pid_t<br>
configure:1443: checking for ssize_t<br>
configure:1476: checking for u_char<br>
configure:1509: checking for u_int<br>
configure:1542: checking for u_long<br>
configure:1605: checking for scsireq_enter in -lscsi<br>
configure:1624: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lscsi 1&gt;&amp;5<br>
ld: cannot open -lscsi: No such file or directory<br>
configure: failed program was:<br>
#line 1613 "configure"<br>
#include "confdefs.h"<br>
/* Override any gcc2 internal prototype to avoid an error. */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply. */<br>
char scsireq_enter();<br>
<p>
int main() {<br>
scsireq_enter()<br>
; return 0; }<br>
configure:1652: checking for sqrt in -lm<br>
configure:1671: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lm 1&gt;&amp;5<br>
configure:1664: warning: conflicting types for built-in function `sqrt'<br>
configure:1699: checking for gettext in -lintl<br>
configure:1718: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lintl -lm 1&gt;&amp;5<br>
ld: cannot open -lintl: No such file or directory<br>
configure: failed program was:<br>
#line 1707 "configure"<br>
#include "confdefs.h"<br>
/* Override any gcc2 internal prototype to avoid an error. */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply. */<br>
char gettext();<br>
<p>
int main() {<br>
gettext()<br>
; return 0; }<br>
configure:1746: checking for syslog in -lsyslog<br>
configure:1765: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lsyslog -lm 1&gt;&amp;5<br>
ld: cannot open -lsyslog: No such file or directory<br>
configure: failed program was:<br>
#line 1754 "configure"<br>
#include "confdefs.h"<br>
/* Override any gcc2 internal prototype to avoid an error. */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply. */<br>
char syslog();<br>
<p>
int main() {<br>
syslog()<br>
; return 0; }<br>
configure:1793: checking for jpeg_start_decompress in -ljpeg<br>
configure:1812: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-ljpeg -lm 1&gt;&amp;5<br>
configure:1842: checking for gethostbyaddr in -lnsl<br>
configure:1861: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure:1889: checking for socket in -lsocket<br>
configure:1908: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lsocket -lnsl -ljpeg -lm 1&gt;&amp;5<br>
ld: cannot open -lsocket: No such file or directory<br>
configure: failed program was:<br>
#line 1897 "configure"<br>
#include "confdefs.h"<br>
/* Override any gcc2 internal prototype to avoid an error. */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply. */<br>
char socket();<br>
<p>
int main() {<br>
socket()<br>
; return 0; }<br>
configure:1940: checking for working alloca.h<br>
configure:1952: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:1948: warning: unused variable `p'<br>
configure:1973: checking for alloca<br>
configure:2001: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:1997: warning: unused variable `p'<br>
configure:2172: checking for unistd.h<br>
configure:2211: checking for getpagesize<br>
configure:2239: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure:2264: checking for working mmap<br>
configure:2412: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure: In function `main':<br>
configure:2353: warning: implicit declaration of function `getpagesize'<br>
configure:2362: warning: implicit declaration of function `rand'<br>
configure:2363: warning: implicit declaration of function `umask'<br>
configure:2367: warning: implicit declaration of function `write'<br>
configure:2369: warning: implicit declaration of function `close'<br>
configure:2400: warning: implicit declaration of function `read'<br>
configure:2406: warning: implicit declaration of function `unlink'<br>
configure:2439: checking for atexit<br>
configure:2467: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure:2439: checking for ioperm<br>
configure:2467: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure:2439: checking for mkdir<br>
configure:2467: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
configure:2439: checking for scsireq_enter<br>
configure:2467: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c<br>
-lnsl -ljpeg -lm 1&gt;&amp;5<br>
/tmp/cca168961.o: In function `main':<br>
/usr/src/sane-pre1.01/configure:2461: undefined reference to<br>
`scsireq_enter'<br>
configure: failed program was:<br>
#line 2444 "configure"<br>
#include "confdefs.h"<br>
/* System header to define __stub macros and hopefully few prototypes,<br>
which can conflict with char scsireq_enter(); below. */<br>
#include &lt;assert.h&gt;<br>
/* Override any gcc2 internal prototype to avoid an error. */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply. */<br>
char scsireq_enter();<br>
<p>
int main() {<br>
<p>
/* The GNU C library defines this for functions which it implements<br>
to always fail with ENOSYS. Some functions are actually named<br>
something starting with __ and the normal name is an alias. */<br>
#if defined (__stub_scsireq_enter) || defined (__stub___scsireq_enter)<br>
choke me<br>
#else<br>
scsireq_enter();<br>
#endif<br>
<p>
; return 0; }<br>
<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="0216.html">Bjoern Buerger: "Re: Mustek1200SP Firmware-1.05 same with FW-1.2"</a>
<li> <b>Previous message:</b> <a href="0214.html">Jochen Baltes: "Re: Mustek1200SP Firmware-1.05 same with FW-1.2"</a>
<li> <b>Maybe in reply to:</b> <a href="0207.html">Laurent GRAWET: "Which libraries are needed to compile ?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>