Re: undefined _clock$UNIX2003 in 3rd party static lib with xcode 3
Re: undefined _clock$UNIX2003 in 3rd party static lib with xcode 3
- Subject: Re: undefined _clock$UNIX2003 in 3rd party static lib with xcode 3
- From: Tobias Ford <email@hidden>
- Date: Thu, 8 Nov 2007 21:12:27 -0600
It's using $(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk
On Nov 8, 2007, at 9:09 PM, Peter O'Gorman wrote:
Tobias Ford wrote:
I'm building Umbra's dpvs library under xcode 3 as a static library.
When linking the final application against the dpvs library I'm
getting
an undefined symbol for _clock$UNIX2003. In the dpvs source, it's
using
clock() from time.h.
It worked fine under xcode 2x and this is a function that is
defined in
the standard c library. As far as I know, there really shouldn't
be an
issue with this. Any suggestions? Thanks.
nm libSystem.dylib | grep _clock
shows both _clock and _clock$UNIX2003 for me, as it should.
Are you using an older SDK at application link time, and a newer
one, or
no sdk at all, for the library?
Peter
-------------------
Tobias Ford...
tobias1482 'at' mac.com
tford 'at' spacetimestudios.com
-------------------
Sr Programmer @ space time studios for a generic space game mmo
_______________________________________________
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