# Errors compiling sane

Gary Brant (gbrant@gte.net)
Mon, 19 Apr 1999 17:13:23 -0500

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Gordon Scott: "Scanner died? or SCSI?"
- Previous message: Oliver Rauch: "Re: latest beta finally available!"

Hi:
I have downloaded sane-1.00.tar.gz. I have libgimp1.0.0 and libgtk1.0.5
(came with Caldera v1.3 CD). When I try to compile sane, I get:
...
gcc -shared -Wl,-soname -Wl,libsane-dll.so.1 -o
.libs/libsane-dll.so.1.0.0 dll.lo dll-s.lo sane_strstatus.lo
../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo
../lib/getopt.lo ../lib/getopt1.lo ../lib/snprintf.lo ../lib/strndup.lo
../lib/strsep.lo ../lib/usleep.lo abaton.lo agfafocus.lo apple.lo
artec.lo canon.lo coolscan.lo dc25.lo dc210.lo dmc.lo epson.lo hp.lo
microtek.lo microtek2.lo mustek.lo net.lo pnm.lo qcam.lo ricoh.lo
s9036.lo snapscan.lo tamarack.lo umax.lo ../sanei/sanei_config2.lo
../sanei/sanei_codec_bin.lo ../sanei/sanei_constrain_value.lo
../sanei/sanei_net.lo ../sanei/sanei_scsi.lo ../sanei/sanei_wire.lo
../sanei/sanei_ab306.lo ../sanei/sanei_pio.lo -lc
apple.lo: In function `mode_update':
/stuff/usr/local/src/sane-1.00/backend/apple.c:1137: multiple definition
of `mode_update'
abaton.lo:/stuff/usr/local/src/sane-1.00/backend/abaton.c:573: first
defined here
/usr/i386-linux/bin/ld: Warning: size of symbol `mode_update' changed
from 290 to 860 in apple.lo
make[1]: *** [libsane-dll.la] Error 1
make[1]: Leaving directory `/stuff/usr/local/src/sane-1.00/backend'
make: *** [all-recursive] Error 1

There were no errors in config.log. What am I missing here?
-Gary

    --
    Windows protection error.  You need to restart your computer.

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

     Next message: Gordon Scott: "Scanner died? or SCSI?"
     Previous message: Oliver Rauch: "Re: latest beta finally available!"