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: Peter O'Gorman <email@hidden>
- Date: Thu, 08 Nov 2007 21:09:57 -0600
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
_______________________________________________
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