XCode 2.2 and link time multiple defines
XCode 2.2 and link time multiple defines
- Subject: XCode 2.2 and link time multiple defines
- From: Andrew Kimpton <email@hidden>
- Date: Fri, 11 Nov 2005 15:00:58 -0800
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:
This email sent to email@hidden