Mailing Lists: Apple Mailing Lists

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

XCode 2.2 and link time multiple defines



The following link line  :

/usr/bin/g++-4.0 -o /Volumes/Source/bundle_1_1/builds/macos/Debug/BIAS \ GateEx.vst/Contents/MacOS/BIAS\ GateEx -L/Volumes/Source/bundle_1_1/ builds/macos/Debug -F/Volumes/Source/bundle_1_1/builds/macos/Debug - filelist /Volumes/Source/bundle_1_1/builds/macos/auguste.build/Debug/ augusteVST.build/Objects-normal/ppc/BIAS\ GateEx.LinkFileList - framework Carbon -framework CoreAudio -framework vecLib -framework AudioUnit -framework CoreMIDI -lzlib_nopa -lzdsp -framework vecLib - arch ppc -bundle -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk

With a filelist that just consists of 10 .o files produces a raft of multiple define warnings :

/usr/bin/ld: warning multiple definitions of symbol _expm1f
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin8/4.0.1/../../../libmx.dylib(single module) definition of _expm1f
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple- darwin8/4.0.1/../../../libSystem.dylib(floating.o) definition of _expm1f


And so on for about 25 other single precision math functions.

The mx library is not on the link line, nor is it defined as part of my project - so how is it getting included in this link ?

This error also only occurs if I when doing a PPC Link. The Intel Link stage (on a Transition Kit or on PPC) works just fine.

Andrew 8-)

_______________________________________________
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


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.