On Dec 4, 2013, at 6:37 PM, Martin Costabel <costa...@wanadoo.fr> wrote:
> On 4/12/13 23:38, Alexander Hansen wrote: >>> duplicate symbol ___sputc in: >>> >> mpeg2dec.o >>> >> dump_state.o > >> The package is probably using looser syntax than the compilers on 10.9 >> will tolerate. I'll cc the maintainer. > > For a similar error in vtk58, the fix was to add -std=gnu89 to the linker > line. > > -- > Martin Actually, this error is usually triggered by the presence of -fgnu89-inline. It causes system headers to miscompile causing duplicate symbols to be generated because the headers always expect C99 inline to be in effect. -fgnu89-inline should NEVER be used with 10.9 or Bad Things will happen. However, I get no such error building mpeg2dec on 10.9 with Xcode 5.0.2 and I don't get and -std or -fgnu89 options added. Glynn, can you post the entire build log or at least a bit before what you already posted? I need to see the actual compile commands, not just the final linking one. Daniel
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners