• 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
Diagnosing link errors: the next stage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Diagnosing link errors: the next stage


  • Subject: Diagnosing link errors: the next stage
  • From: Ken Brooks <email@hidden>
  • Date: Thu, 27 May 2004 18:11:06 -0400

Philip Aker wrote:
>Hi Ken,
>
>I think that you should 1) make sure the Carbon.framework is added
>to your target and

Thanks - that was it.
BUG:  the Import Project command should have taken care of that.

>2) examine your header includes.

These were actually OK.  The Importer put FlatHeaders into my path.


The next stage:  I then got rid of all the remaining undefined
symbols that ld was reporting.
It then reported one error:
	Cat & Mouse+AI scrolling:0: Undefined symbols:
(and no names are then listed)
What???  How can it complain of them and not tell me any?

So I rebuilt with ZeroLink turned on and it now reports:
	ZeroLink: unknown symbol '__Z12WindowUpdateP15OpaqueWindowPtrPv'
Okay, so...
1. What does that name look like in C++ source?
2. CAN I GET IT TO TELL ME where the undefined symbol is being referenced from?

Thanks to all,
Ken


>>
>>
>>Is there a way to get more detailed link error information, such as,
>>from what module the undefined reference came?
>>
>>It seems clear here that I've got a basic Apple library missing.
>>Well, this project came into existence via the "Import Project"
>>command, importing from CodeWarrior.  It included Carbon.r in my
>>project, but not Carbon.framework.   What have it or I missed?  How
>>did my import process get messed up?
>>
>>Does XCode provide any way to search my entire collection of
>>installed frameworks for a particular symbol?
>>
>>Thanks,
>>Ken
>>_______________________________________________
>>xcode-users mailing list | email@hidden
>>Help/Unsubscribe/Archives:
>>http://www.lists.apple.com/mailman/listinfo/xcode-users
>>Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Diagnosing link errors: the next stage
      • From: Chris Espinosa <email@hidden>
    • Re: Diagnosing link errors: the next stage
      • From: Finlay Dobbie <email@hidden>
    • Re: Diagnosing link errors: the next stage
      • From: Ryan Wilcox <email@hidden>
    • Re: Diagnosing link errors: the next stage
      • From: Philip Aker <email@hidden>
  • Prev by Date: cursor position
  • Next by Date: Re: Java building not very smart?
  • Previous by thread: Re: cursor position
  • Next by thread: Re: Diagnosing link errors: the next stage
  • Index(es):
    • Date
    • Thread