[Fontconfig] 'fat' libraries...

Glenn R. Martin lifewarped at yahoo.com
Thu Apr 20 10:55:37 PDT 2006


Turned out to be i was missing "-fno-common".

On Apr 20, 2006, at 11:20 AM, Glenn R. Martin wrote:

> Im working on compiling FontConfig for MacOS X as a universal (fat)  
> library. Upon linking i run in to this error:
>
> ld: common symbols not allowed with MH_DYLIB output format with the  
> -multi_module option
> .libs/fcatomic.o definition of common _FcDebugVal (size 4)
> .libs/fccfg.o definition of common __fcConfig (size 4)
> ld: common symbols not allowed with MH_DYLIB output format with the  
> -multi_module option
> .libs/fcatomic.o definition of common _FcDebugVal (size 16)
> .libs/fccfg.o definition of common __fcConfig (size 16)
> /usr/bin/libtool: internal link edit command failed
> /usr/bin/libtool: internal link edit command failed
> lipo: can't figure out the architecture type of: /var/tmp// 
> ccmlKotP.out
> make[2]: *** [libfontconfig.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any clue how i might be able to repair it? this is only Library #4  
> of about 78...
>
> Glenn R. Martin
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/fontconfig/attachments/20060420/45fd7d67/attachment.htm


More information about the Fontconfig mailing list