sane-project-website/old-archive/1999-12/0090.html

92 wiersze
4.0 KiB
HTML

<!-- received="Sat Dec 11 06:57:30 1999 PST" -->
<!-- sent="Sat, 11 Dec 1999 16:02:30 -0000 (/etc/localtime" -->
<!-- name="marcel pol" -->
<!-- email="mpol@gmx.net" -->
<!-- subject="Error compiling SANE" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Error compiling SANE</title>
<h1>Error compiling SANE</h1>
<b>marcel pol</b> (<a href="mailto:mpol@gmx.net"><i>mpol@gmx.net</i></a>)<br>
<i>Sat, 11 Dec 1999 16:02:30 -0000 (/etc/localtime</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#90">[ date ]</a><a href="index.html#90">[ thread ]</a><a href="subject.html#90">[ subject ]</a><a href="author.html#90">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<li> <b>Previous message:</b> <a href="0089.html">Oliver Rauch: "Re: Is Umax Astra 2200 supported by sane?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<li> <b>Reply:</b> <a href="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello,<br>
<p>
I want to compile SANE from the source code, but I get an error.<br>
I can tar and ./configure the source, but when I give the command make it gives<br>
an error after starting to compile.<br>
<p>
abaton.c: In function 'sane_abaton_control_function: <br>
abaton.c:1116: incompatible types in assignment<br>
make[1]: *** [abaton.lo] Error 1<br>
make[1]: leaving directory '/usr/src/packages/SOURCES/sane-1.00/backend'<br>
make *** [all-recursive] Error 1<br>
<p>
I do not know what this error means. I hope it's a common error and somebody<br>
knows what it means.<br>
<p>
I use SuSE LiNUX 6.1 with kernel 2.2.7 and the gcc compiler.<br>
I use SANE 1.00 and the abaton version is 0.1.<br>
I have got SANE installed as RPM but when I uninstall SANE the error also<br>
occurs. The files of the installed SuSE RPM SANE are located different than the<br>
files which are going to be installed, for example SuSE doesn't use the<br>
directory /usr/local/bin, but I guess /usr/bin.<br>
<p>
I tried to just delete the source file '~/BUILD/backend/abaton.c',<br>
but I got another error with umax.c<br>
<p>
In file included from /usr/include/local_lim.h:21,<br>
from /usr/include/posix1_lim.h:92,<br>
from /usr/include/limits.h:27,<br>
from<br>
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/limits.h:117,<br>
from<br>
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/syslimits.h:27, <br>
from<br>
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/limits.h:11,<br>
from umax.c:130:<br>
usr/include/linux/limits.h:14: warning: 'PATH_MAX' redefined<br>
umax.c:112: warning: this is the location of the previous definition<br>
<p>
Then the system hangs. By pressing Ctrl-C I get more:<br>
<p>
make[1]: *** [umax.lo] Error 1<br>
make: [all-recursive] Interrupt<br>
<p>
when I also delete the file '~/sane-1.00/backend/umax.c' it makes fine, but<br>
when I give the command make_install I get more errors. There must be another<br>
solution for this problem than deleting source-files, I hope somebody knows<br>
which solution.<br>
<p>
Thanks in advance,<br>
Marcel Pol<br>
<p>
<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="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<li> <b>Previous message:</b> <a href="0089.html">Oliver Rauch: "Re: Is Umax Astra 2200 supported by sane?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<li> <b>Reply:</b> <a href="0091.html">Oliver Rauch: "Re: Error compiling SANE"</a>
<!-- reply="end" -->
</ul>