Hi,
> I am trying to compile SANE for all platforms I have access to. I don't
> have scanners on these computers so I can't test scanning.
One more platform (with current cvs):
*** Irix 5.3 on mips RS4000 gcc 2.95.2
compiling seems to be ok (gcc seems to ignore the u_int*_t redefinition)
but when linking the following happens:
making all in frontend
make[1]: Entering directory /u2/people/henning/sane/frontend'
gcc -L/usr/local/lib -o .libs/saned saned.o ../sanei/libsanei.a
../backend/.libs/libsane.so ../lib/liblib.a -ldl -ljpeg -lm -Wl,-rpath
-Wl,/usr/local/lib
/usr/bin/../lib/ld:
The shared object /usr/lib/libdl.so did not resolve any symbols.
You may want to remove it from your link line.
The shared object /usr/local/lib/libjpeg.so did not resolve any symbols.
You may want to remove it from your link line.
The shared object /usr/lib/libm.so did not resolve any symbols.
You may want to remove it from your link line.
Unresolved:
isfdtype
collect2: ld returned 1 exit status
make[1]: *** [saned] Error 1
make[1]: Leaving directory /u2/people/henning/sane/frontend'
make: *** [all-recursive] Error 1
> *** AIX 4.1.5 on IBM RS/6000 J40 gcc 2.8.1
> With gmake:
has changed with latest cvs:
making all in frontend
gmake[1]: Entering directory /tmp/sane/frontend'
libtool: link: warning: this platform does not like uninstalled shared
librarieslibtool: link: saned' will be relinked during installation
gcc -o .libs/saned saned.o ../sanei/libsanei.a -L/tmp/sane/backend/.libs
-lsane
../lib/liblib.a -ldl -lnsl -lm -L/tmp/sane/backend/.libs -L/usr/local/lib
collect2: ld returned 8 exit status
ld: 0711-224 WARNING: Duplicate symbol: .sanei_config_open
ld: 0711-224 WARNING: Duplicate symbol: .sanei_config_skip_whitespace
ld: 0711-224 WARNING: Duplicate symbol: .sanei_config_get_string
ld: 0711-224 WARNING: Duplicate symbol: .sanei_config_read
ld: 0711-224 WARNING: Duplicate symbol: sanei_debug_sanei_config
ld: 0711-224 WARNING: Duplicate symbol: .sanei_init_debug
ld: 0711-224 WARNING: Duplicate symbol: .sanei_debug
ld: 0711-224 WARNING: Duplicate symbol: .sanei_debug_max
ld: 0711-224 WARNING: Duplicate symbol: sanei_debug_sanei_debug
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .isfdtype
ld: 0711-317 ERROR: Undefined symbol: .vsyslog
gmake[1]: *** [saned] Error 1
gmake[1]: Leaving directory /tmp/sane/frontend'
gmake: *** [all-recursive] Error 1
So the plustek problem seems to be solved for this platform?
> *** IRIX Release 6.2 IP25 on SGI Power Onyx cc ?
Can't test at the moment, computer seems to be down (as well as most of the
others at tu-darmstadt.de).
> *** Sun Solaris 2.6 on Sun Ultra 10 gcc 2.95
> make stops with:
This hasn't changed much since the last change to cvs:
gcc -c -g -O2 -W -Wall -DSCSIBUFFERSIZE=131072 -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=plustek -DLIBDIR=/usr/local/lib/sane plustek.c -fPIC -DPIC -o .libs/plustek.lo
plustek.c:195: warning: missing initializer
plustek.c:195: warning: (near initialization for dummy_dev.model')
plustek.c: In function drvopen':
plustek.c:220: warning: implicit declaration of function _IOW'
plustek.c:220: parse error before unsigned'
plustek.c:243: warning: implicit declaration of function _IOWR'
plustek.c:243: parse error before int'
plustek.c:244: warning: implicit declaration of function _IO'
plustek.c: In function do_cancel':
plustek.c:376: parse error before int'
plustek.c: In function attach':
plustek.c:618: warning: implicit declaration of function _IOR'
plustek.c:618: parse error before ScannerCaps'
plustek.c:625: parse error before LensInfo'
plustek.c:600: warning: result' might be used uninitialized in this function
plustek.c: In function sane_plustek_start':
plustek.c:1210: parse error before ScannerCaps'
plustek.c:1217: parse error before LensInfo'
plustek.c:1288: parse error before CmdBlk'
plustek.c:1295: parse error before CropInfo'
plustek.c:1342: parse error before ScanInfo'
plustek.c:1349: parse error before StartScan'
plustek.c:1178: warning: result' might be used uninitialized in this function
gmake[1]: *** [plustek.lo] Error 1
gmake[1]: Leaving directory /tmp/sane/backend'
gmake: *** [all-recursive] Error 1
So here the plustek problems haven't vanished.
Ciao,
Henning
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Mon Jul 17 2000 - 06:41:49 PDT