• 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: Link errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link errors


  • Subject: Re: Link errors
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Tue, 07 Feb 2006 12:24:25 +0900

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Mills wrote:
| Somebody just checked in some changes to our project, and now when I
| build it on Intel, I get these linker warnings. Note that ZeroLink is
| ON for this project, but not for any of the subprojects (it just
| occurred to me to try it with ZeroLink off and see what happens -  won't
| know the outcome for 1/2 an hour or so). I found  NSAddressOfSymbol in
| dyld.h. Do I need to simply add /usr/lib/dyld to  the project to make
| those warnings go away? What about the rest of  the stuff? They look
| pretty standard to me, so I would expect them to  be in one of the
| standard frameworks (Carbon or System).
|
| /usr/bin/ld: Undefined symbols:
| _NSAddressOfSymbol
| _NSLookupAndBindSymbol
| _abort
| ___sF
| _fflush
| _fprintf
| collect2: ld returned 1 exit status

Don't add /usr/lib/dyld to the project. These symbols should all be in
libSystem. Are you sure that the universal SDK is bein used at link time?
And that standard libraries are being added by the compiler driver?

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ+gS6LiDAg3OZTLPAQJjnQP+JaRewF73tvvl7NT9dfow0oN0P9kwAS9c
Rl7fKj2iDGhHg+57nBbRyVR08+TIoKTCdlcpeTGSdRLVX+aryr8SfpybM4m5UR6l
RIuaOkw8h39RxEBOtPTZM1gw2UbzZwPuKTR37+Nj1Mi+WgzBTFElYv5rGoD0QmQY
uoI/SL3s+Cw=
=vNkJ
-----END PGP SIGNATURE-----
_______________________________________________
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


References: 
 >Link errors (From: Steve Mills <email@hidden>)

  • Prev by Date: Link errors
  • Next by Date: Re: crash in __static_initialization_and_destruction on 10.3.9 but not 10.4.4?
  • Previous by thread: Link errors
  • Next by thread: Re: Link errors
  • Index(es):
    • Date
    • Thread