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

Building against 10.5 SDK, link error on "open"


  • Subject: Building against 10.5 SDK, link error on "open"
  • From: Dale Jensen <email@hidden>
  • Date: Tue, 10 Jun 2008 09:34:52 -0500

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


  • Follow-Ups:
    • Re: Building against 10.5 SDK, link error on "open"
      • From: "Julien Jalon" <email@hidden>
    • Re: Building against 10.5 SDK, link error on "open"
      • From: Kevin Grant <email@hidden>
  • Prev by Date: Re: Spotlight sources w/o actual files?
  • Next by Date: Re: Binding NSMenuItem state in Document-based app
  • Previous by thread: Re: adding a delegate to a class
  • Next by thread: Re: Building against 10.5 SDK, link error on "open"
  • Index(es):
    • Date
    • Thread