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: Tue, 14 Oct 2008 07:39:43 -0700
I am scratching my head a bit here. I tried the suggestion below and
I still got the errors. So I opened the library with HexEdit and
found that there are $UNIX2003 references in several places in the
library.
My next attempt is to dig up a 10.4 machine and do the build on a
machine that does not know 10.5 exists.
+++++++++++++++++++++++
Rich Collyer
Senior Software Engineer
IronKey, Inc.
email@hidden
+++++++++++++++++++++++
On Oct 13, 2008, at 6:12 PM, Nick Zitzmann wrote:
On Oct 13, 2008, at 6:39 PM, Rich Collyer wrote:
It looks like part of my problem may be that XCode is forcing me to
link against the libcrypto library that comes with the OS, even
though I state a specific search path and have the -
search_paths_first flag set.
XCode is adding a -lcrypto flag into the linking command, which I
am guessing is a way to force the use of the system libcrypto
library.
Yeah, that would do it. Unfortunately there is no way to get the
linker to prefer static libraries over dynamic ones.
There is, however, a workaround. Instead of including your static
library in the project, take it out and add the path to the library
as a linker flag. That will force a static link of the library.
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