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

103 wiersze
4.1 KiB
HTML

<!-- received="Sun Apr 25 13:11:20 1999 PDT" -->
<!-- sent="Wed, 21 Apr 1999 16:22:10 +0200" -->
<!-- name="Michael Holzapfel" -->
<!-- email="michael@ime.rwth-aachen.de" -->
<!-- subject="sane-1.0.1 on AIX 4.2" -->
<!-- id="199904211422.QAA30996@Harz.ime.rwth-aachen.de" -->
<!-- inreplyto="" -->
<title>sane-devel: sane-1.0.1 on AIX 4.2</title>
<h1>sane-1.0.1 on AIX 4.2</h1>
<b>Michael Holzapfel</b> (<a href="mailto:michael@ime.rwth-aachen.de"><i>michael@ime.rwth-aachen.de</i></a>)<br>
<i>Wed, 21 Apr 1999 16:22:10 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#361">[ date ]</a><a href="index.html#361">[ thread ]</a><a href="subject.html#361">[ subject ]</a><a href="author.html#361">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0362.html">John Bodnar: "RPM distributions"</a>
<li> <b>Previous message:</b> <a href="0360.html">Ohrhallinger, Stefan: "avision scanner supported?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0377.html">Oliver Rauch: "Re: sane-1.0.1 on AIX 4.2"</a>
<li> <b>Reply:</b> <a href="0377.html">Oliver Rauch: "Re: sane-1.0.1 on AIX 4.2"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi all, <br>
<p>
finally i got the time to test the most recent sane-package on AIX.<br>
Compilation went fine except the following "mini-error", which gcc<br>
overlooks:<br>
<p>
make <br>
xlc -c -g -DHAVE_CONFIG_H -I. -I. -I../include -I../include<br>
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d<br>
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0<br>
-DBACKEND_NAME=umax -DLIBDIR=/usr/local/lib/sane -DPIC umax.c<br>
"umax.c", line 180.32: 1506-046 (S) Syntax error.<br>
"umax.c", line 261.28: 1506-196 (E) Initialization between types<br>
"unsigned char*" and "char*" is not allowed.<br>
"umax.c", line 1778.33: 1506-280 (E) Function argument assignment<br>
between types "char*" and "unsigned char*" is not allowed.<br>
make: *** [umax.lo] Error 1<br>
Compilation exited abnormally with code 2 at Wed Apr 21 14:56:24<br>
<p>
<p>
Unfortunately, sane has problems to load the shared-libraries.<br>
*.so*-files don't exist in /usr/local/lib/sane. I am not very familiar<br>
with libtool and shared libraries. /usr/local/lib/sane holds only .a<br>
and .la-files.<br>
<p>
export SANE_DEBUG_DLL=128 <br>
scanimage -L<br>
[sanei_init_debug]: Setting debug level of dll to 128.<br>
sanei_config_open: attempting to open `./dll.conf'<br>
sanei_config_open: attempting to open `/usr/local/etc/sane.d/dll.conf'<br>
sanei_config_open: using file `/usr/local/etc/sane.d/dll.conf'<br>
adding backend net<br>
adding backend hp<br>
adding backend pnm<br>
loading backend pnm<br>
load: couldn't find /usr/local/lib/sane/libsane-pnm.so.1 (No such file<br>
or directory)<br>
loading backend hp<br>
load: couldn't find /usr/local/lib/sane/libsane-hp.so.1 (No such file<br>
or directory)<br>
loading backend net<br>
load: couldn't find /usr/local/lib/sane/libsane-net.so.1 (No such file<br>
or directory)<br>
exiting<br>
calling backend `pnm's exit function<br>
call to unsupported backend operation<br>
calling backend `hp's exit function<br>
call to unsupported backend operation<br>
calling backend `net's exit function<br>
call to unsupported backend operation<br>
<p>
Any suggestions?<br>
<p>
Sane configured with --disable-shared works ok.<br>
<p>
Regards<br>
<p>
<p>
<pre>
--
Michael Holzapfel &lt;<a href="mailto:michael@ime.rwth-aachen.de">michael@ime.rwth-aachen.de</a>&gt;
<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="0362.html">John Bodnar: "RPM distributions"</a>
<li> <b>Previous message:</b> <a href="0360.html">Ohrhallinger, Stefan: "avision scanner supported?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0377.html">Oliver Rauch: "Re: sane-1.0.1 on AIX 4.2"</a>
<li> <b>Reply:</b> <a href="0377.html">Oliver Rauch: "Re: sane-1.0.1 on AIX 4.2"</a>
<!-- reply="end" -->
</ul>