I;m trying to use SCNetworkReachabilityCreateWithName to test for reachability on my app, but i cannot get it to link the project. The linker complains about not finding the symbol. Obviously the directive #import <SystemConfiguration/SystemConfiguration.h> is on place. I have been able to succefully compile a couple of Apple applications that use the very same piece of code, and i am wonder if there is any special need to link the project. I really don't get a clue, and i have read every piece of documentation i was able to reach. Please let me know if you have any idea.
Best.

Checking Dependencies

Ld "/Users/ariel/Documents/Cocoa Programming Hillegas/iPhone/Clarin/ build/Release-iphonesimulator/Clarin.app/Clarin" normal i386 cd "/Users/ariel/Documents/Cocoa Programming Hillegas/iPhone/ Clarin"
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/ Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ gcc-4.0 -arch i386 -isysroot /Developer/Platforms/ iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.sdk "-L/ Users/ariel/Documents/Cocoa Programming Hillegas/iPhone/Clarin/build/ Release-iphonesimulator" "-F/Users/ariel/Documents/Cocoa Programming Hillegas/iPhone/Clarin/build/Release-iphonesimulator" -filelist "/ Users/ariel/Documents/Cocoa Programming Hillegas/iPhone/Clarin/build/ Clarin.build/Release-iphonesimulator/Clarin.build/Objects-normal/i386/ Clarin.LinkFileList" -mmacosx-version-min=10.5 -framework Foundation - framework UIKit -framework CoreGraphics -o "/Users/ariel/Documents/ Cocoa Programming Hillegas/iPhone/Clarin/build/Release-iphonesimulator/ Clarin.app/Clarin"
Undefined symbols:
  "_SCNetworkReachabilityCreateWithName", referenced from:
      -[ClarinAppDelegate isDataSourceAvailable] in ClarinAppDelegate.o
  "_SCNetworkReachabilityGetFlags", referenced from:
      -[ClarinAppDelegate isDataSourceAvailable] in ClarinAppDelegate.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
_______________________________________________

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]

Reply via email to