Re: Diagnosing link errors: the next stage
Re: Diagnosing link errors: the next stage
- Subject: Re: Diagnosing link errors: the next stage
- From: Chris Espinosa <email@hidden>
- Date: Thu, 27 May 2004 17:17:14 -0700
On May 27, 2004, at 3:11 PM, Ken Brooks wrote:
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.
This implies that you imported a CFM target, not a Mach-O target that
was already linking to Carbon.framework.
The document on moving a CodeWarrior project to Xcode recommends you do
that transition in CodeWarrior first, to resolve link issues in your
current project, before moving the project to a new environment. It
helps to do only one transition at a time, rather than many (compiler,
development environment, executable format) simultaneously.
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
MovingProjectsToXcode/mig_importing/chapter_4_section_1.html#//
apple_ref/doc/uid/20001711
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?
Open the Build Results window and open the detail (click the widget at
top right or lift the split bar) to see these.
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?
That's a well-known request, thanks for the input.
Chris Espinosa
Apple
_______________________________________________
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.