FW: Linker warnings on MacOS X

Tim Potter tpot at samba.org
Sun Oct 21 14:46:01 GMT 2001


The DJ writes:

> > I'm compiling samba and I get these messages on every linking.
> >
> > Linking bin/rpcclient
> > /usr/bin/ld: warning multiple definitions of symbol _snprintf
> > lib/snprintf.o definition of _snprintf in section (__TEXT,__text)
> > /usr/lib/libSystem.dylib(snprintf.o) definition of _snprintf
> > /usr/bin/ld: warning multiple definitions of symbol _vsnprintf
> > lib/snprintf.o definition of _vsnprintf in section (__TEXT,__text)
> > /usr/lib/libSystem.dylib(vsnprintf.o) definition of _vsnprintf
> 
> Ja. Linker flag: -flat_namespace.
> 
> Could this flag be added to the linker command if samba builds on Darwin?
> It isn't effecting the use of samba, it will run just fine, but it might be
> nice to include it in future releases.

So what is the output of config.guess on the various Mac
platforms?  Does Samba even compile on anything other than
darwin?


Tim.




More information about the samba-technical mailing list