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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/jjalon%40gmail.com > > This email sent to [EMAIL PROTECTED] > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]