Xcode 2.5 linker undefined symbols for PowerPlant application
Xcode 2.5 linker undefined symbols for PowerPlant application
- Subject: Xcode 2.5 linker undefined symbols for PowerPlant application
- From: John Brownie <email@hidden>
- Date: Thu, 01 Nov 2007 15:25:23 +1100
(I first posted this to carbon-dev, but Eric suggested I post it here
instead.)
My application works fine in Tiger, and compiled fine with Xcode 2.4.1.
I've installed Xcode 2.5 today, and I'm getting problems. ZeroLink is
turned off for all configurations. In my Debug configuration, I get the
following errors:
ld: Undefined symbols:
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
__ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Debug/Ukelele.build/Objects-normal/ppc/UkeleleApp.o
reference to undefined
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
etc
The Release version gets a different set of errors:
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
__ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
__ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
__ZNSt24__default_alloc_templateILb1ELi0EE22_S_node_allocator_lockE
__ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm
__ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEm
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Release/Ukelele.build/Objects-normal/ppc/UkeleleApp.o
reference to undefined
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
etc
Again, I have no real idea on how to find the problems. I can't find any
reference to "default_alloc_template" anywhere in my project - is it
something in STL?
This is the linker transcript for the Release configuration:
Ld
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Release/Ukelele.build/Objects-normal/ppc/Ukelele
normal ppc
cd /Users/john/Documents/Programming/Carbon/Ukelele
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/g++-3.3 -o
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Release/Ukelele.build/Objects-normal/ppc/Ukelele
-L/Users/john/Documents/Programming/Carbon/Ukelele/build/Release
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3
-F/Users/john/Documents/Programming/Carbon/Ukelele/build/Release
-filelist
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Release/Ukelele.build/Objects-normal/ppc/Ukelele.LinkFileList
-framework Carbon -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.2
-Wl,-dead_strip -no_dead_strip_inits_and_terms
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
For the Debug configuration, it is:
Ld "/Users/john/Documents/Programming/Carbon/Ukelele/build/Debug/Ukelele
Debug.app/Contents/MacOS/Ukelele Debug" normal ppc
cd /Users/john/Documents/Programming/Carbon/Ukelele
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/g++-3.3 -o
/Users/john/Documents/Programming/Carbon/Ukelele/build/Debug/Ukelele\
Debug.app/Contents/MacOS/Ukelele\ Debug
-L/Users/john/Documents/Programming/Carbon/Ukelele/build/Debug
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3
-F/Users/john/Documents/Programming/Carbon/Ukelele/build/Debug -filelist
/Users/john/Documents/Programming/Carbon/Ukelele/build/Ukelele.build/Debug/Ukelele.build/Objects-normal/ppc/Ukelele\
Debug.LinkFileList -framework Carbon -arch ppc -Wl,-Y,1455
-mmacosx-version-min=10.2 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
Any clues gratefully accepted!
John (currently in Sydney, Australia)
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________
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