Link Error after upgrading to Xcode 2.5
Link Error after upgrading to Xcode 2.5
- Subject: Link Error after upgrading to Xcode 2.5
- From: Wyatt Webb <email@hidden>
- Date: Mon, 28 Jan 2008 16:45:03 -0800
We've just finished a project, so I thought I'd start moving our
tools to 2.5 so we could let developers upgrade to Leopard if they
wanted to. So, this product builds fine in 2.4.x and I simply
installed 2.5 and built our two debug builds. Intel built fine. PPC
gives a link error that I'm having a hard time tracking down. Please
let me know what library I'm missing or if I'm pointing at the wrong
one.
My link invocation line is thus:
Ld /Volumes/Programmers/code/wwebb/current/InspXcode/Execute/
DebugPowerPC/Kidspiration.app/Contents/MacOS/Kidspiration normal ppc
cd /Volumes/Programmers/code/wwebb/current/InspXcode
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/g++-3.3 -o /Volumes/Programmers/code/wwebb/current/
InspXcode/Execute/DebugPowerPC/Kidspiration.app/Contents/MacOS/
Kidspiration -L/Volumes/Programmers/code/wwebb/current/InspXcode/
Execute/DebugPowerPC -L/Volumes/Programmers/code/wwebb/current/
InspXcode/Libraries/Libs/DebugPowerPC -L/Volumes/Programmers/code/
wwebb/current/InspXcode/../inspMW/rsrc -L/Developer/SDKs/
MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3 -L/Volumes/Programmers/code/
wwebb/current/InspXcode/../7Foods/InspPalmLibSrc -L/Volumes/
Programmers/code/wwebb/current/InspXcode/../7Foods/MissingSyncBridge -
L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/Developer/SDKs/
MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3 -F/Volumes/Programmers/code/
wwebb/current/InspXcode/Execute/DebugPowerPC -filelist /Volumes/
Programmers/code/wwebb/current/InspXcode/Execute/Inspiration.build/
DebugPowerPC/Kidspiration.build/Objects-normal/ppc/
Kidspiration.LinkFileList -framework Carbon -framework CoreServices -
framework Foundation -framework QuickTime -framework
SystemConfiguration -lMissingSyncBridge /Volumes/Programmers/code/
wwebb/current/InspXcode/Libraries/Libs/DebugPowerPC/libexpat.a /
Volumes/Programmers/code/wwebb/current/InspXcode/Libraries/Libs/
DebugPowerPC/libJPEG.a /Volumes/Programmers/code/wwebb/current/
InspXcode/Libraries/Libs/DebugPowerPC/libSSCE.a /Volumes/Programmers/
code/wwebb/current/InspXcode/Libraries/Libs/DebugPowerPC/
libWsEngine.a /Volumes/Programmers/code/wwebb/current/InspXcode/
Libraries/Libs/DebugPowerPC/libZLib.a -arch ppc -Wl,-Y,1455 -mmacosx-
version-min=10.2 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
Then I get a long list of errors that are repeats of two errors for
many files:
[...] reference to undefined
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
[...] reference to undefined
__ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm
Any clues would be appreciated.
Wyatt
_______________________________________________
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