Missing symbols
Missing symbols
- Subject: Missing symbols
- From: Rick Mann <email@hidden>
- Date: Fri, 16 Feb 2007 19:54:41 -0800
I found a D compiler plugin to Xcode that seems to work reasonably
well. I've had to add a few settings to get it to compile my files,
but I've got things mostly nailed down. However, there are a handful
of undefined symbols that I can't seem to pin down. I've included the
build output below. A family of symbols like "__Unwind_Resume" are
missing. Can someone tell me where those are usually found?
When I call gdc (gcc with a D front end, built on top of Apple's gcc)
to link my objects via Makefile, it works fine with no more than a -
framework Carbon included. Xcode wants to call Ld, which seems to
call gdc similarly, but fails. On the command line, gdc automatically
links against libgphobos, but when called from Xcode, I have to
include that specifically in the project.
--
Rick
-----
Building target “Demo” of project “Demo” with configuration “Debug”
Checking Dependencies
Ld /Users/rmann/Darbon/darbon/trunk/examples/Demo/xcode/build/Debug/
Demo.app/Contents/MacOS/Demo normal i386
cd /Users/rmann/Darbon/darbon/trunk/examples/Demo/xcode
/usr/bin/gdc -o /Users/rmann/Darbon/darbon/trunk/examples/Demo/
xcode/build/Debug/Demo.app/Contents/MacOS/Demo -L/Users/rmann/Darbon/
darbon/trunk/examples/Demo/xcode/build/Debug -L/Users/rmann/Darbon/
darbon/trunk/examples/Demo/xcode/../../../target/lib -L/usr/lib/gcc/
i686-apple-darwin8/4.0.1 -F/Users/rmann/Darbon/darbon/trunk/examples/
Demo/xcode/build/Debug -filelist /Users/rmann/Darbon/darbon/trunk/
examples/Demo/xcode/build/Demo.build/Debug/Demo.build/Objects-normal/
i386/Demo.LinkFileList -lgphobos -arch i386 -Wl,-Y,1455 -framework
Carbon
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
__Unwind_GetIP
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_RaiseException
__Unwind_SetGR
__Unwind_SetIP
__Unwind_GetDataRelBase
__Unwind_GetTextRelBase
/Users/rmann/Darbon/darbon/trunk/examples/Demo/xcode/build/Demo.build/
Debug/Demo.build/Objects-normal/i386/DHIWindow.o reference to
undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_GetIP
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_GetLanguageSpecificData
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_GetRegionStart
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_RaiseException
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_SetGR
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(deh.o)
reference to undefined __Unwind_SetIP
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(object.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(string.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(stdio.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(gc.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(gcx.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(unwind.o)
reference to undefined __Unwind_GetDataRelBase
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(unwind.o)
reference to undefined __Unwind_GetRegionStart
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(unwind.o)
reference to undefined __Unwind_GetTextRelBase
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a(thread.o)
reference to undefined __Unwind_Resume
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgphobos.a
(dgccmain2.o) reference to undefined __Unwind_Resume
collect2: ld returned 1 exit status
_______________________________________________
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