• 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: Building against 10.5 SDK, link error on "open"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building against 10.5 SDK, link error on "open"


  • Subject: Re: Building against 10.5 SDK, link error on "open"
  • From: "Julien Jalon" <email@hidden>
  • Date: Tue, 10 Jun 2008 08:38:07 -0700

The basic POSIX functions have changed a bit in Leopard (to achieve POSIX
conformance). This means that POSIX libraries are different in 10.4 SDK vs.
10.5. You can not mix them. Also, if you change the SDK, it's generally a
good idea to clean all your targets.
--
Julien

On Tue, Jun 10, 2008 at 7:34 AM, Dale Jensen <email@hidden>
wrote:

> I'm trying to get my project to build against the 10.5 SDK, but when I
> switch it from $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk to 10.5, I get a couple
> of errors:
>
> Undefined symbols:
>  "_open$UNIX2003", referenced from:
>      _CreateEventForPath in editorBridge.o
>  "_close$UNIX2003", referenced from:
>      _SimplePing in SimplePing.o
>      _CreateSocketForCommunicationWithHost in SimplePing.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> SimplePing.o is from the Apple provided example.  editorBridge is mine, an
> implementation of kQueue, which uses the "open" found in fcntl.h
>
> I don't know enough about UNIX flavoured C to figure out what settings I
> might need to change to solve the link error.  Suggestions?  Thanks!
>
>
> dale
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Building against 10.5 SDK, link error on "open" (From: Dale Jensen <email@hidden>)

  • Prev by Date: Re: Building against 10.5 SDK, link error on "open"
  • Next by Date: Re: Building against 10.5 SDK, link error on "open"
  • Previous by thread: Re: Building against 10.5 SDK, link error on "open" [Solved]
  • Next by thread: changing locale
  • Index(es):
    • Date
    • Thread