I have some annoying warning in the link stage of my app and I'm not
able to disable them (OSX 10.4.10, gcc 4.0.1, command line) :
/usr/bin/ld: warning multiple definitions of symbol _FT_Bitmap_New
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/Ogre.framework/Ogre(single
module) definition of _FT_Bitmap_New
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/CEGUI.framework/CEGUI(single
module) definition of _FT_Bitmap_New
[... and so on for hundreds of lines :) ...]
The problem is simple.
My app links two (universal binary) frameworks: CEGUI & Ogre
Both frameworks STATICALLY link to the same version of libfreetype.a
When my app links (with -framework Ogre -framework CEGUI), for some
strange reason it sees the symbols of both freetype libs, since they are
the same the binary works ok, but I don't like to see these warnings :)
Googling around I've found a nice keyword to add to the link stage:
-multiply_defined suppress
... sadly this doesn't make any difference...
Anyone can help me?
--
Bye,
Gabry