sane-1.0.1 on AIX 4.2

Michael Holzapfel (michael@ime.rwth-aachen.de)
Wed, 21 Apr 1999 16:22:10 +0200

Hi all,

finally i got the time to test the most recent sane-package on AIX.
Compilation went fine except the following "mini-error", which gcc
overlooks:

make
xlc -c -g -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
-DBACKEND_NAME=umax -DLIBDIR=/usr/local/lib/sane -DPIC umax.c
"umax.c", line 180.32: 1506-046 (S) Syntax error.
"umax.c", line 261.28: 1506-196 (E) Initialization between types
"unsigned char*" and "char*" is not allowed.
"umax.c", line 1778.33: 1506-280 (E) Function argument assignment
between types "char*" and "unsigned char*" is not allowed.
make: *** [umax.lo] Error 1
Compilation exited abnormally with code 2 at Wed Apr 21 14:56:24

Unfortunately, sane has problems to load the shared-libraries.
*.so*-files don't exist in /usr/local/lib/sane. I am not very familiar
with libtool and shared libraries. /usr/local/lib/sane holds only .a
and .la-files.

export SANE_DEBUG_DLL=128
scanimage -L
[sanei_init_debug]: Setting debug level of dll to 128.
sanei_config_open: attempting to open `./dll.conf'
sanei_config_open: attempting to open `/usr/local/etc/sane.d/dll.conf'
sanei_config_open: using file `/usr/local/etc/sane.d/dll.conf'
adding backend net
adding backend hp
adding backend pnm
loading backend pnm
load: couldn't find /usr/local/lib/sane/libsane-pnm.so.1 (No such file
or directory)
loading backend hp
load: couldn't find /usr/local/lib/sane/libsane-hp.so.1 (No such file
or directory)
loading backend net
load: couldn't find /usr/local/lib/sane/libsane-net.so.1 (No such file
or directory)
exiting
calling backend `pnm's exit function
call to unsupported backend operation
calling backend `hp's exit function
call to unsupported backend operation
calling backend `net's exit function
call to unsupported backend operation

Any suggestions?

Sane configured with --disable-shared works ok.

Regards

-- 
Michael Holzapfel <michael@ime.rwth-aachen.de>

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com