[sane-devel] MacOS X SCSI support and other changes in SANE CVS

Dave Huang khym@azeotrope.org
Wed, 30 Apr 2003 21:37:38 -0501


On Thu, May 01, 2003 at 01:33:03AM +0200, Henning Meier-Geinitz wrote:
> MacOS X users: Please test now. I haven't got any report about failure
> or acces until now. If it's not tested, Mac OS X builds may be broken
> in the next release.

I don't have a SCSI card in my PowerMac, so I can't test that part,
but I did try to simply build it, and got the following error:

gcc -o .libs/scanimage scanimage.o stiff.o  ../backend/.libs/libsane.dylib -framework CoreFoundation -framework IOKit ../lib/liblib.a -lm
ld: multiple definitions of symbol _getopt
/usr/lib/libm.dylib(getopt.So) definition of _getopt
../lib/liblib.a(getopt.o) definition of _getopt in section (__TEXT,__text)
ld: multiple definitions of symbol _opterr
/usr/lib/libm.dylib(getopt.So) definition of _opterr
../lib/liblib.a(getopt.o) definition of _opterr in section (__DATA,__data)
ld: multiple definitions of symbol _optind
/usr/lib/libm.dylib(getopt.So) definition of _optind
../lib/liblib.a(getopt.o) definition of _optind in section (__DATA,__data)
ld: multiple definitions of symbol _optopt
/usr/lib/libm.dylib(getopt.So) definition of _optopt
../lib/liblib.a(getopt.o) definition of _optopt in section (__DATA,__data)
make[1]: *** [scanimage] Error 1
make: *** [all-recursive] Error 1

This is on a machine running MacOS X 10.2.5
Darwin greyfox.azeotrope.org 6.5 Darwin Kernel Version 6.5: Mon Apr  7 17:05:38 PDT 2003; root:xnu/xnu-344.32.obj~1/RELEASE_PPC  Power Macintosh powerpc
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++