Linker warnings on MacOS X

The DJ hartman at mac.com
Sun Oct 21 15:22:15 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.
> 

On MacOS X 10.1, MacOS X 10.1 Server and Darwin 1.4 it is
powerpc-apple-darwin1.4
---------------------------------------------------------------------------
Universiteit Twente
---------------------------------------------------------------------------
Derk-Jan 'The DJ' Hartman
ICQnr: 10111559
Mail:  mailto:hartman at mac.com
WWW:   http://home.student.utwente.nl/d.hartman/
Goto:  http://www.student.utwente.nl/~macsatcampus





More information about the samba-technical mailing list