Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- Subject: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- From: Rich Collyer <email@hidden>
- Date: Mon, 13 Oct 2008 16:23:48 -0700
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. 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/>
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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