• 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 definitions of symbol ___cxa_atexit and _atexit warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple definitions of symbol ___cxa_atexit and _atexit warning


  • Subject: multiple definitions of symbol ___cxa_atexit and _atexit warning
  • From: "Roni Music" <email@hidden>
  • Date: Fri, 2 Jun 2006 17:13:21 +0200

I asked this on this list a couple of days ago but might have missed if anyone responded,
sorry if that's the case.


------

Hi,


Since upgrading from Xcode 2.2.1 to Xcode 2.3, I get a warning "multiple definitions of symbol ___cxa_atexit and _atexit "


The app runs fine but I would want to get rid of the warning

This happens with two of my three Xcode projects, all are Universal Binary apps
and the warning are related to the Intel side.


Any ideas?

/usr/bin/ld: warning multiple definitions of symbol _atexit
/usr/lib/gcc/i686-apple-darwin8/4.0.1/crt3.o private external definition of _atexit in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(atexit.So) definition of _atexit
/usr/bin/ld: warning multiple definitions of symbol ___cxa_atexit
/usr/lib/gcc/i686-apple-darwin8/4.0.1/crt3.o private external definition of ___cxa_atexit in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib(atexit.So) definition of ___cxa_atexit
/usr/bin/ld: warning multiple definitions of symbol _atexit
/usr/bin/ld: warning multiple definitions of symbol ___cxa_atexit
Build succeeded (2 warnings)


Thanks,
Rolf

_______________________________________________
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


  • Prev by Date: Re: DWARF format and stripping (addresses to symbols + line numbers)
  • Next by Date: Re: Newbie: How do I compile this?
  • Previous by thread: Re: Newbie: How do I compile this?
  • Next by thread: Re: multiple definitions of symbol ___cxa_atexit and _atexit warning
  • Index(es):
    • Date
    • Thread