Hi, On Sat, Jun 21, 2003 at 05:13:08AM -0700, Brian D. Williams wrote: > gcc -o .libs/scanimage scanimage.o stiff.o ../lib/liblib.a > ../backend/.libs/libsane.dylib /usr/local/lib/libusb.dylib -lIOKit -lm > -framework CoreFoundation -framework IOKit > 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)
Yeah, that's the already known multiple definition error. Some MacOS X users don't seem to get that error, some see it. No idea why. And, by the way, I have no idea why libm should define _getopt. Bye, Henning
