I hate the weird ones. I've got two XCode 2.4 projects. The two are
identical except that one uses source trees and the other doesn't.
(I'm preparing for SCM). The original project compiles and links
perfectly. The second (soure-tree version) compiled and linked a few
days ago but refuses to do so now. I'm getting undefined symbols for
three routines in two files. Both of these are in the target and GCC
generates the .o files. No matter what I do I can't get the damn thing
to link. I checked the link list file and the two files are in there.
I checked the assembly and the routines are in there. I even examined
the .o files in Resorcerer and the routines are in there.
What the hell is going wrong?
> I hate the weird ones. I've got two XCode 2.4 projects. The two are
> identical except that one uses source trees and the other doesn't.
[quoted text clipped - 8 lines]
>
> What the hell is going wrong?
Two link errors I have had in the past few days of converting a project:
1) Libraries are searched in order, so if library A calls symbols in
library B, you have to have A and B in that order in the command line.
2) If you try to call C code from C++, you must declare it extern "C" .
Neither of those might be applicable (if you don't use libraries and
don't use C++).

Signature
David M. Palmer dmpalmer@email.com (formerly @clark.net, @ematic.com)
RogueWarrior - 22 Oct 2006 17:27 GMT
These are straight C files and routines as part of a larger project.
The weird thing is that I have an earlier verison of the project that
links just fine and early on in the creation of this project it worked
fine too.
> Neither of those might be applicable (if you don't use libraries and
> don't use C++).