• 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
Linking problem: failed with exit code 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking problem: failed with exit code 1


  • Subject: Linking problem: failed with exit code 1
  • From: Michael Ryan Bannon <email@hidden>
  • Date: Fri, 05 May 2006 15:38:47 -0400
  • Organization: Humagade

Hello,
 
I've seen this topic on the list already, so I hope you don't mind me asking again.
I'm getting the following error during linking:
 
Command /usr/bin/g++-4.9 failed with exit code 1
 
That's the only error.  It doesn't say why the link failed...just that.
I'm using Xcode 2.2 on a Mac Intel.
 
I would doubt that it has anything to do with the warnings.  Maybe it has to do with the Mac SDK I'm using (I set Xcode to develop for my current OS, which is 10.4.6).
 
Any help is greatly appreciated. 
(Note: Compacted verbose output at end of message...just the linking stuff)
 
Thanks,
 
Ryan
 

/Humagade/Projects/MyNewProjMac/MyNewProj/../LuaPlus/build/Debug/LuaPlus.framework/LuaPlus(single module) definition of _wmemchr

/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(wmemchr.So) definition of _wmemchr

/usr/bin/ld: warning multiple definitions of symbol _wmemcmp

/Humagade/Projects/MyNewProjMac/MyNewProj/../LuaPlus/build/Debug/LuaPlus.framework/LuaPlus(single module) definition of _wmemcmp

/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(wmemcmp.So) definition of _wmemcmp

collect2: ld returned 1 exit status

     /usr/bin/ld: multiple definitions of symbol raiseAmount(ActionType)

     /usr/bin/ld: multiple definitions of symbol __Z11raiseAmount10ActionType.eh

     /usr/bin/ld: multiple definitions of symbol isRaise(ActionType)

     /usr/bin/ld: multiple definitions of symbol __Z7isRaise10ActionType.eh

     /usr/bin/ld: warning multiple definitions of symbol _wmemchr

     /usr/bin/ld: warning multiple definitions of symbol _wmemcmp

     collect2: ld returned 1 exit status

Build failed (1 error, 5 warnings)

 _______________________________________________
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: Linking problem: failed with exit code 1
      • From: "Mark Wagner" <email@hidden>
  • Prev by Date: Sorting files in all-in-one view?
  • Next by Date: Re: Linking problem: failed with exit code 1
  • Previous by thread: Re: Sorting files in all-in-one view?
  • Next by thread: Re: Linking problem: failed with exit code 1
  • Index(es):
    • Date
    • Thread