• 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: Dale Jensen <email@hidden>
  • Date: Tue, 10 Jun 2008 10:22:09 -0500

On Jun 10, 2008, at 10:04 AM, Kevin Grant wrote:

You may have to examine the list of environment variables
printed at build time, and the GCC command lines, to see the
problem.  For example, the -isysroot option may not be set
correctly.

I've attached the command lines at the end of this. It looks okay to me, but I'm not very familiar with what options should be set.


Another test would be to disable the SDK temporarily and
build against Leopard itself, just to see if the results are
the same.

Nope, same result.

Here's the build strings:

CompileC "build/ebrowser.build/Debug/Elements SBM Debug.build/Objects- normal/i386/editorBridge.o" /Users/dalej/Documents/ebrowser/ editorBridge.m normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Users/dalej/Documents/ebrowser
/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno- trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused- variable -fmessage-length=0 -mfix-and-continue -gdwarf-2 "-I/Users/ dalej/Documents/ebrowser/build/ebrowser.build/Debug/Elements SBM Debug.build/Elements SBM Debug.hmap" -F/Users/dalej/Documents/ebrowser/ build/Debug -F/Users/dalej/Documents/ebrowser -F/Users/dalej/Documents/ ebrowser -F/Users/dalej/Documents/ebrowser -I/Users/dalej/Documents/ ebrowser/build/Debug/include "-I/Users/dalej/Documents/ebrowser/build/ ebrowser.build/Debug/Elements SBM Debug.build/DerivedSources" - include /Users/dalej/Documents/ebrowser/ebrowser_debug_Prefix.pch -c / Users/dalej/Documents/ebrowser/editorBridge.m -o "/Users/dalej/ Documents/ebrowser/build/ebrowser.build/Debug/Elements SBM Debug.build/ Objects-normal/i386/editorBridge.o"


Ld "/Users/dalej/Documents/ebrowser/build/Debug/Elements SBM Debug.app/ Contents/MacOS/Elements SBM Debug" normal i386
cd /Users/dalej/Documents/ebrowser
/Developer/usr/bin/gcc-4.0 -o "/Users/dalej/Documents/ebrowser/ build/Debug/Elements SBM Debug.app/Contents/MacOS/Elements SBM Debug" - L/Users/dalej/Documents/ebrowser/build/Debug -L/Developer/SDKs/ MacOSX10.4u.sdk/usr/lib -F/Users/dalej/Documents/ebrowser/build/Debug - F/Users/dalej/Documents/ebrowser -F/Users/dalej/Documents/ebrowser -F/ Users/dalej/Documents/ebrowser -filelist "/Users/dalej/Documents/ ebrowser/build/ebrowser.build/Debug/Elements SBM Debug.build/Objects- normal/i386/Elements SBM Debug.LinkFileList" -framework Cocoa - framework WebKit -framework Security -framework SecurityFoundation - framework SecurityInterface -framework InstantMessage -framework AddressBook -framework SyncServices -framework CoreServices -lcrypto - framework DotMacKit -framework Quartz -framework Carbon -framework CalendarStore -arch i386 -prebind -lz
Undefined symbols:
"_open$UNIX2003", referenced from:
_CreateEventForPath in editorBridge.o
"_read$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


_______________________________________________

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: Kevin Grant <email@hidden>
References: 
 >Building against 10.5 SDK, link error on "open" (From: Dale Jensen <email@hidden>)
 >Re: Building against 10.5 SDK, link error on "open" (From: Kevin Grant <email@hidden>)

  • Prev by Date: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
  • Next by Date: Re: crash on command-W
  • Previous by thread: Re: Building against 10.5 SDK, link error on "open"
  • Next by thread: Re: Building against 10.5 SDK, link error on "open"
  • Index(es):
    • Date
    • Thread