• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
      • From: Rich Collyer <email@hidden>
References: 
 >Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Rich Collyer <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Nick Zitzmann <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Rich Collyer <email@hidden>)

  • Prev by Date: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Next by Date: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Previous by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Next by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Index(es):
    • Date
    • Thread