<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Turned out to be i was missing "-fno-common".<BR><DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On Apr 20, 2006, at 11:20 AM, Glenn R. Martin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Im working on compiling FontConfig for MacOS X as a universal (fat) library. Upon linking i run in to this error:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">.libs/fcatomic.o definition of common _FcDebugVal (size 4)</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">.libs/fccfg.o definition of common __fcConfig (size 4)</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">.libs/fcatomic.o definition of common _FcDebugVal (size 16)</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">.libs/fccfg.o definition of common __fcConfig (size 16)</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">/usr/bin/libtool: internal link edit command failed</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">/usr/bin/libtool: internal link edit command failed</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">lipo: can't figure out the architecture type of: /var/tmp//ccmlKotP.out</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">make[2]: *** [libfontconfig.la] Error 1</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">make[1]: *** [all-recursive] Error 1</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">make: *** [all] Error 2</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any clue how i might be able to repair it? this is only Library #4 of about 78...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Glenn R. Martin</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Fontconfig mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Fontconfig@lists.freedesktop.org">Fontconfig@lists.freedesktop.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.freedesktop.org/mailman/listinfo/fontconfig">http://lists.freedesktop.org/mailman/listinfo/fontconfig</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>