• 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
Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)


  • Subject: Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)
  • From: Dragan Milić <email@hidden>
  • Date: Wed, 6 Jul 2005 15:55:45 +0200

Begin forwarded message:

From: Dragan Milić
Date: sreda, 06.07.2005. 12:53:02 CET
To: Xcode-users Mailing List <email@hidden>
Subject: Error linking in Xcode 2.1 (undefined symbols in libSystem)


Hi everyone,

I have a couple of small projects, compiled and linked under Mac OS X 10.3.9 and Xcode 1.5. Recently I've switched to Tiger and Xcode 2.1. I succeded to rebuild all my projects, except one. Compiling goes fine, but when linking I get these errors:

/usr/bin/ld: Undefined symbols:
_snprintf$LDBLStub
_sscanf$LDBLStub
_printf$LDBLStub
_strtod_l referenced from AppKit expected to be defined in libSystem
_snprintf_l referenced from AppKit expected to be defined in libSystem
_sprintf_l referenced from AppKit expected to be defined in libSystem
_sscanf_l referenced from AppKit expected to be defined in libSystem
_OSSpinLockLock referenced from AppKit expected to be defined in libSystem
_OSSpinLockUnlock referenced from AppKit expected to be defined in libSystem

.........................................................................

_TXTRecordDeallocate referenced from CFNetwork expected to be defined in libSystem
_TXTRecordGetBytesPtr referenced from CFNetwork expected to be defined in libSystem
_TXTRecordGetCount referenced from CFNetwork expected to be defined in libSystem
_TXTRecordGetItemAtIndex referenced from CFNetwork expected to be defined in libSystem
_TXTRecordGetLength referenced from CFNetwork expected to be defined in libSystem
_TXTRecordSetValue referenced from CFNetwork expected to be defined in libSystem
collect2: ld returned 1 exit status


There are a lot of reports like these above, and they all refer to libSystem as being the source of the problem. I tried with many build options, but I couldn't get that particular project to link and build. Any help would be highly appreciated.

Milke.

Maybe I should add that I'm linking against "Current Mac OS" SDK (MacOSX10.4), I'm not using MacOSX10.4u, since I'm not building universal binary. Also, when building I've noticed reports of precompiling of 2 prefix headers, although the project contains only one prefix header file, created automatically during creation of the project, the one that imports <Cocoa/Cocoa.h> inside "#ifdef __OBJ_C__  ...  #endif" clause. Again, this happens only when linking one particular project, others work fine, which confuses me even more.

When building development build (with ZeroLink) everything goes without any problem.

Cheers
Milke
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)
      • From: Allen Cronce <email@hidden>
References: 
 >Error linking in Xcode 2.1 (undefined symbols in libSystem) (From: Dragan Milić <email@hidden>)

  • Prev by Date: Pragma support for function-level optimization
  • Next by Date: Re: gcc-3.3:linking against gcc-4.0 linked framework
  • Previous by thread: Error linking in Xcode 2.1 (undefined symbols in libSystem)
  • Next by thread: Re: Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)
  • Index(es):
    • Date
    • Thread