Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Oct 13, 2005, at 10:19 AM, Sean McBride wrote:

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?

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

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.

Hope that helps,

-- Andrew Pontious
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >mystery link warnings between System.framework and libmx.dylib (From: "Sean McBride" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.