FW: Linker warnings on MacOS X

The DJ hartman at mac.com
Sun Oct 21 14:27:02 GMT 2001


------ Forwarded Message
From: Gerben Wierda <sherlock at rna.nl>
Date: Sun, 21 Oct 2001 22:53:36 +0200
To: The DJ <hartman at mac.com>
Subject: Re: Linker warnings, need help

> 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
>
>
> This wasn¹t before I upgraded to OS 10.1
>
> Is this the 2 level namespace thing?

Ja. Linker flag: -flat_namespace.

------ End of Forwarded Message


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.

Thx,
DJ





More information about the samba-technical mailing list