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

Re: multiple definitions of symbol ___cxa_atexit and _atexit warning


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


this?

-------

cd "/Users/ingvarnilsson/Desktop/programming/programming/Sweet_Midi_OS X"
/usr/bin/g++-4.0 -o /Users/ingvarnilsson/Desktop/programming/programming/Sweet_Midi_OS\ X/build/Swmipl.build/Release/Sweet\ MIDI.build/Objects-normal/i386/Sweet\ MIDI\ X -L/Users/ingvarnilsson/Desktop/programming/programming/Sweet_Midi_OS\ X/build/Release -F/Users/ingvarnilsson/Desktop/programming/programming/Sweet_Midi_OS\ X/build/Release -filelist /Users/ingvarnilsson/Desktop/programming/programming/Sweet_Midi_OS\ X/build/Swmipl.build/Release/Sweet\ MIDI.build/Objects-normal/i386/Sweet\ MIDI\ X.LinkFileList -framework Carbon -framework CoreMIDI -framework CoreServices -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework QuickTime -framework CoreFoundation -arch i386 -Wl,-Y,1455 -mmacosx-version-min=10.4 -Wl,-dead_strip -multiply_defined warning -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/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





----- Original Message ----- From: "Syd Polk" <email@hidden>
To: "Roni Music" <email@hidden>
Sent: Friday, June 02, 2006 5:17 PM
Subject: Re: multiple definitions of symbol ___cxa_atexit and _atexit warning



Could you post the link command line which produces this output?

On Friday, June 02, 2006, at 10:15AM, Roni Music <email@hidden> wrote:

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




Syd Polk
email@hidden
"Let the music be your light" - Dave Edwards, KUHF-FM, 1982



_______________________________________________ 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
References: 
 >multiple definitions of symbol ___cxa_atexit and _atexit warning (From: "Roni Music" <email@hidden>)

  • Prev by Date: Re: Compilation Phase Missed in Xcode 2.3
  • Next by Date: Re: DWARF format and stripping (addresses to symbols + line numbers)
  • Previous by thread: multiple definitions of symbol ___cxa_atexit and _atexit warning
  • Next by thread: Re: Compilation Phase Missed in Xcode 2.3
  • Index(es):
    • Date
    • Thread