• 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: mystery link warnings between System.framework and libmx.dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mystery link warnings between System.framework and libmx.dylib


  • Subject: Re: mystery link warnings between System.framework and libmx.dylib
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 25 Oct 2005 14:22:33 -0400
  • Organization: Rogue Research

On 2005-10-24 16:57, Andrew Pontious said:

>> I have these mystery link warnings:
>>
>> /usr/bin/ld: warning multiple definitions of symbol _atan2f
>> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
>> System.framework/System(floating.o) definition of _atan2f
>> /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
>> darwin8/4.0.1/../../../libmx.dylib(single module) definition of
>> _atan2f
>>
>> and 28 others just like it: sinf, asinf, etc.
>>
>> Any ideas how to get rid of them, or what's causing them?  Neither
>> System.framework nor libmx.dylib are in my project so it's something
>> xCode is doing automagically, which makes it hard to troubleshoot.
>> [snip]
>
>Did you ever get an answer to this?

Not till now. :)

>I saw this problem recently in a home project I was working on. I
>also don't include System.framework or libmx is my project. I link
>only against Cocoa.framework.
>
>I searched all of Apple's lists for a fix. Have a look at: http://
>lists.apple.com/archives/cocoa-dev/2005/May/msg00470.html

Interesting, I hadn't thought to check the cocoa list archives.

>By applying the fix from the above link -- adding -lSystem to my
>Other Linker Flags build setting -- I was able to make these warnings
>go away.

I had forgotten about all this, and in fact I can't even get the warning
to appear anymore, but I recently cleaned up the project a bit, and
remember removing the unneeded Cocoa.framework, maybe that's what got
rid of them.

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: 
 >mystery link warnings between System.framework and libmx.dylib (From: "Sean McBride" <email@hidden>)
 >Re: mystery link warnings between System.framework and libmx.dylib (From: Andrew Pontious <email@hidden>)

  • Prev by Date: Re: :min, std::max
  • Next by Date: Re: Thread viewer tool ?
  • Previous by thread: Re: mystery link warnings between System.framework and libmx.dylib
  • Next by thread: No compile errors for unknown functions?
  • Index(es):
    • Date
    • Thread