[sane-devel] Epson perfection 660 ->Problem building on OSX

Brian D. Williams brian_d_w@yahoo.com
Sat, 21 Jun 2003 09:04:34 -0700 (PDT)


Hi,

Thanks for having a look at that. Could I remove the offending define(s)?

Brian

--- Henning Meier-Geinitz <henning@meier-geinitz.de> wrote:
> 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
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

=====
Brian Williams
homepage == <http://chromaticgray.com>