• 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
multiple crt1.o link problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple crt1.o link problems


  • Subject: multiple crt1.o link problems
  • From: Ron Duritsch <email@hidden>
  • Date: Thu, 8 May 2008 10:04:34 -0400

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
 _______________________________________________
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

  • Follow-Ups:
    • Re: multiple crt1.o link problems
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Run Script Build Phase and Copy Files Build Phase
  • Next by Date: Re: multiple crt1.o link problems
  • Previous by thread: CFBundleExecutable info?
  • Next by thread: Re: multiple crt1.o link problems
  • Index(es):
    • Date
    • Thread