• 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
XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors


  • Subject: XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
  • From: "Swar Systems" <email@hidden>
  • Date: Sat, 18 Jun 2005 16:01:24 +0200
  • Importance: Normal

Hi,
 
I am porting some C++ code to OS X, and I am facing a sudden problem. Though the code compiled well, linked successfully with ZeroLink option on (by default), and ran quite well in debug mode, it suddenly stopped linking after I made a few changes. Unchecking the ZeroLink option now shows me about 5000 "multiple definitions of symbol" errors, even if I remove these changes I had added.
 
These are linkage errors. All sources build perfectly. I have also used "#ifndef" statements on each header file to avoid including it more than once in each .cpp.
 
Can anyone help me by giving more details on when such an error is generated, and how I can avoid it?
 
Thanks a lot!
 
Mariano
 _______________________________________________
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: XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: CodeWarrior to XCode (again)
  • Next by Date: Xcode2.1: Making a stand-alone app.
  • Previous by thread: Re: CodeWarrior to XCode (again)
  • Next by thread: Re: XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
  • Index(es):
    • Date
    • Thread