ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option

Mike Stump mrs@apple.com
Fri Jun 10 19:47:00 GMT 2005


I'd put this more simply...

On Monday, June 6, 2005, at 02:06  PM, Mathieu Malaterre wrote:
>    I have a question about a valid C code. I am trying to compile the 
> following code in MacOSX (*). I don't understand what the problem is?

You must use -fno-common when you are building dynamic libraries on 
darwin.

> Could someone please explain me what is going on?

You didn't use -fno-common.



More information about the Gcc mailing list