Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- Subject: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- From: "Wesley Smith" <email@hidden>
- Date: Mon, 13 Oct 2008 17:03:39 -0700
I've had similar issues building libraries on 10.5 but trying to use a
makefile to build them against 10.4. Is there a way to query a
library as to what SDK it was built against?
wes
On Mon, Oct 13, 2008 at 4:23 PM, Rich Collyer <email@hidden> wrote:
> This makes sense, but from what I can tell, it is being build against 10.4
> setenv MACOSX_DEPLOYMENT_TARGET 10.4
> setenv SDKROOT /Developer_31/SDKs/MacOSX10.4u.sdk
> setenv SDK_DIR /Developer_31/SDKs/MacOSX10.4u.sdk
> setenv SDK_NAME macosx10.4
>
> +++++++++++++++++++++++
> Rich Collyer
> Senior Software Engineer
> IronKey, Inc.
> email@hidden
> +++++++++++++++++++++++
>
>
> On Oct 13, 2008, at 3:55 PM, Nick Zitzmann wrote:
>
> On Oct 13, 2008, at 2:33 PM, Rich Collyer wrote:
>
> Undefined symbols:
>
> "_fputs$UNIX2003", referenced from:
>
> _write_string in libcrypto.a(ui_openssl.o)
>
> _read_string in libcrypto.a(ui_openssl.o)
>
> _read_string in libcrypto.a(ui_openssl.o)
>
> _read_string in libcrypto.a(ui_openssl.o)
>
> ld: symbol(s) not found
>
>
> I suspect that I was not having this problem with XCode 3.0, because it was
> not actually linking with the libcrypto.a file I was telling it to link with
> (my version instead of the one that comes with the OS).
>
> Any thoughts of how to resolve this linker error?
>
>
> Your libcrypto is built against the 10.5 SDK (the UNIX2003 symbols were not
> present in earlier SDKs). If you're linking something statically, then all
> of the static code must be linked against the same SDK or you usually get
> undefined symbol errors like the ones above.
>
> Nick Zitzmann
> <http://seiryu.home.comcast.net/>
>
>
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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