I am porting a project from CodeWarrior to Xcode 2,5 (for starters). All has gone fairly well up to now, with all source compiling. But I get the following link errors (below) and I am hoping someone has seen something like this before. It seems to want to utilize two different crt1.o object files:
/Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _NXArgc /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of _NXArgc in section (__DATA,__data) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o definition of _NXArgc in section (__DATA,__data) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _NXArgv /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of _NXArgv in section (__DATA,__data) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o definition of _NXArgv in section (__DATA,__data) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol ___progname /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of ___progname in section (__DATA,__data) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o definition of ___progname in section (__DATA,__data) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol __dyld_func_lookup /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o private external definition of __dyld_func_lookup in section (__TEXT,__text) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o private external definition of __dyld_func_lookup in section (__TEXT,__text) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol __start /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o private external definition of __start in section (__TEXT,__text) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o private external definition of __start in section (__TEXT,__text) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _environ /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of _environ in section (__DATA,__data) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o definition of _environ in section (__DATA,__data) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol dyld_stub_binding_helper /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o private external definition of dyld_stub_binding_helper in section (__TEXT,__text) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o private external definition of dyld_stub_binding_helper in section (__TEXT,__text) /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol start /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of start in section (__TEXT,__text) /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o definition of start in section (__TEXT,__text)
Any clues anyone??
Thanks, Ron |