mystery link warnings between System.framework and libmx.dylib
mystery link warnings between System.framework and libmx.dylib
- Subject: mystery link warnings between System.framework and libmx.dylib
- From: "Sean McBride" <email@hidden>
- Date: Thu, 13 Oct 2005 13:19:32 -0400
- Organization: Rogue Research
Hi,
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.
Here's the gory details:
Ld /Users/sean/RogueSVNWorkingCopy/brainsight/trunk/build/Release/
Brainsight.app/Contents/MacOS/Brainsight normal ppc
mkdir /Users/sean/RogueSVNWorkingCopy/brainsight/trunk/build/Release/
Brainsight.app/Contents/MacOS
cd /Users/sean/RogueSVNWorkingCopy/brainsight/trunk
setenv MACOSX_DEPLOYMENT_TARGET 10.4
/usr/bin/g++-4.0 -o /Users/sean/RogueSVNWorkingCopy/brainsight/trunk/
build/Release/Brainsight.app/Contents/MacOS/Brainsight -L/Users/sean/
RogueSVNWorkingCopy/brainsight/trunk/build/Release -L/Users/sean/
RogueSVNWorkingCopy/3rdParty/NetCDF/trunk/Debug/lib -L/Users/sean/
RogueSVNWorkingCopy/3rdParty/DCMTK/trunk/Debug/lib -L/Users/sean/
RogueSVNWorkingCopy/3rdParty/MINC/trunk/Debug/lib -L/Users/sean/
RogueSVNWorkingCopy/3rdParty/Quesa/trunk/Debug -F/Users/sean/
RogueSVNWorkingCopy/brainsight/trunk/build/Release -filelist "/Users/
sean/RogueSVNWorkingCopy/brainsight/trunk/build/Brainsight.build/Release/
Brainsight Frameless.build/Objects-normal/ppc/Brainsight.LinkFileList" -
framework System -framework Carbon -framework CoreFoundation -framework
QuickTime -framework AGL -framework OpenGL -framework vecLib -framework
IOKit -ldcmdata -lofstd -lnetcdf -lvolume_io -lminc -lQuesaD -arch ppc -
lz -Xlinker -Y -Xlinker 100 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
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