• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple symbol warning coming from libmx and libSystem..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple symbol warning coming from libmx and libSystem..


  • Subject: Re: Multiple symbol warning coming from libmx and libSystem..
  • From: Francois LE COAT <email@hidden>
  • Date: Wed, 15 Feb 2006 10:47:40 +0100

Hi Brian,

Brian Smith wrote:
Francois LE COAT wrote:
Shawn Erickson wrote:

I have an existing project (created in Xcode 2.1) that has been
working great until the below popped up. I have reviewed diffs between
the current project and prior check-in of the project an nothing other
then a few .mm and .m files have been added to the project. I have
rebuilt everything, manually removed xcode cache directories under
/Library and ~/Library, removed build output directories, etc....
nothing has fixed the issue.
The issue did show up on another developer's system after they updated
their project so something in the project must be causing this (or
some quirk of externally built libraries).
I am using Xcode 2.2 currently (not yet updated to 2.2.1) on a 10.4.4 system.
Thanks for any ideas on how to correct this issue ...

The problem is quite similar to mine. I'm using Xcode 1.5, and when I build programs that usually linked fine, there's now problems with multiple symbols with the "/usr/lib/libstdc++.6.0.3.dylib" from OSX. 3.9. This happens with 2 softwares that I maintain :

ARAnyM <http://aranym.sourceforge.net/> using SDL 1.2.8
K3DSurf <http://k3dsurf.sourceforge.net/> using QT 3.3.4

There's no solution to it, except that I was told that the stdc++
library may have been altered ... What I'm not convinced about ...
This is currently discussed on this ML.

Actually it is not exactly the same problem as both libraries a system libraries provided by Apple. A search on the documents for libSystem comes up with an article about how libSystem is replacing libraries like libmx. The quick fix is to declare -lSystem for your targets other link flags. I would like to know why XCode suddenly starts giving you this warning too. Is a configuration setting for gcc not set for libSystem as a standard library or is both defined? Hopefully, somebody else has that answer.

I noticed that you told that Shawn's problem is not the exact same problem as mine.

With mine, why should the "multiple symbol" linker report happened
twice with both programs ARAnyM and K3DSurf ? I use for the tests the
exact same program sources used to build the official releases of those.

Same sources should produce same results. This is not the case.

That's why I have strong questionings ...

Best regards,

-- François LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Multiple symbol warning coming from libmx and libSystem.. (From: Shawn Erickson <email@hidden>)
 >Re: Multiple symbol warning coming from libmx and libSystem.. (From: Francois LE COAT <email@hidden>)
 >Re: Multiple symbol warning coming from libmx and libSystem.. (From: Brian Smith <email@hidden>)

  • Prev by Date: Re: debugging on Intel macs
  • Next by Date: Re: debugging on Intel macs
  • Previous by thread: Re: Multiple symbol warning coming from libmx and libSystem..
  • Next by thread: Re: Multiple symbol warning coming from libmx and libSystem..
  • Index(es):
    • Date
    • Thread