in /usr/local/lib, I have three libraries (symlinks)
libsane.a libsane.so libsane.so.1
in /usr/local/lib/sane, I have LOTS of libraries, including:
libsane-umax.a libsane-umax.la
Now when I run the client in the debugger, I get an error
message...
982 status=sane_get_devices(&device_list,SANE_FALSE);
(gdb)
[dll] loading backend umax
[dll] load: couldn't find /usr/local/lib/libsane-umax.so.1 (No such file
or directory)
[dll] loading backend net
[dll] load: couldn't find /usr/local/lib/libsane-net.so.1 (No such file
or directory)
983 if (status != SANE_STATUS_GOOD)
So, putting on my thinking cap, I decided I'd build a big
version to start with, and did a ./configure --disable-shared,
and did a "gmake clean all"
Now I get:
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -I/usr/X11R6/include -I/home/gtk/lib/glib/include
-I/home/gtk/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
-g -O2 -Wall scanimage.c
gcc -o scanimage scanimage.o ../backend/.libs/libsane.a ../lib/liblib.a
-ldl -ljpeg -lm
abaton.c:573: Definition of symbol _mode_update (multiply defined)
apple.c:1137: Definition of symbol _mode_update (multiply defined)
dc210.c:1193: Undefined symbol _sanei_jpeg_jinit_write_ppm referenced
from text segment
gmake[1]: *** [scanimage] Error 1
gmake[1]: Leaving directory `/var/tmp/sane-1.00/frontend'
gmake: *** [all-recursive] Error 1
Any ideas on how to proceed at this point?
-- -Jeff Evarts --jdeassoc@earthlink.net ---http://www.ecst.csuchico.edu/~amarth/
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com