• 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 __cxa_atexit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple definitions of __cxa_atexit


  • Subject: Multiple definitions of __cxa_atexit
  • From: "Mark Wagner" <email@hidden>
  • Date: Fri, 14 Sep 2007 12:57:34 -0700

When compiling my program, I get warnings about multiple definitions
of _atexit and __cxa_atexit.  Is this something I need to worry about,
and if so, how do I fix it?


Ld /Users/markwagner/Myapp.prj/build/Debug/Myapp.app/Contents/MacOS/Myapp
normal i386
    cd /Users/markwagner/Myapp.prj
    /usr/bin/g++-4.0 -o
/Users/markwagner/Myapp.prj/build/Debug/Myapp.app/Contents/MacOS/Myapp
-L/Users/markwagner/Myapp.prj/build/Debug -L../../libs/Debug
-F/Users/markwagner/Myapp.prj/build/Debug -filelist
/Users/markwagner/Myapp.prj/build/Myapp.build/Debug/Myapp.Carbon.Bundle.build/Objects-normal/i386/Myapp.LinkFileList
-framework Carbon -framework QuickTime -arch i386 -pg -Wl,-Y,1455
-mmacosx-version-min=10.2 -Wl,-dead_strip -multiply_defined warning
-bind_at_load -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/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/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


Thanks,
Mark Wagner
 _______________________________________________
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: Xcode 1.5 app runnable on i386 hardware?
  • Next by Date: Xcode uses 100% of cpu while debugging
  • Previous by thread: Re: problem building universal binary
  • Next by thread: Xcode uses 100% of cpu while debugging
  • Index(es):
    • Date
    • Thread