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

warnings: multiple definitions of symbol ___cxa_atexit and _atexit - why?


  • Subject: warnings: multiple definitions of symbol ___cxa_atexit and _atexit - why?
  • From: Roni Music <email@hidden>
  • Date: Fri, 30 Jun 2006 09:30:18 +0200




Hi,

Since upgrading from Xcode 2.2.1 to Xcode 2.3,
I get warnings as "multiple definitions of symbol ___cxa_atexit and _atexit " for the Intel build
and lots of warnings as "ld: warning multiple definitions of symbol _sinf" etc for the PPC side


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

The output from the builds result is as below.
Any ideas?

Thanks,
Rolf


***********************


Building target “ASD final” of project “ASD1” with configuration “Imported CodeWarrior Settings” — (15 warnings)
cd /Users/ingvarnilsson/Desktop/programming/programming/ASD_OS_X
/usr/bin/g++-4.0 -o /Users/ingvarnilsson/Desktop/programming/ programming/ASD_OS_X/build/ASD1.build/Imported\ CodeWarrior\ Settings/ ASD\ final.build/Objects-normal/i386/Amazing\ X -L/Users/ ingvarnilsson/Desktop/programming/programming/ASD_OS_X/build/Imported \ CodeWarrior\ Settings -F/Users/ingvarnilsson/Desktop/programming/ programming/ASD_OS_X/build/Imported\ CodeWarrior\ Settings -F../ opensource/Lame/LAMEFrame/build/Deployment -F/Users/ingvarnilsson/ Desktop/programming/programming/ASD_OS_X/../opensource/Lame/LAMEFrame/ build/Deployment -F/Users/ingvarnilsson/Desktop/programming/ programming/ASD_OS_X/Frameworks -filelist /Users/ingvarnilsson/ Desktop/programming/programming/ASD_OS_X/build/ASD1.build/Imported\ CodeWarrior\ Settings/ASD\ final.build/Objects-normal/i386/Amazing\ X.LinkFileList -framework Carbon -framework CoreAudio -framework AudioToolbox -framework QuickTime -framework CoreFoundation - framework CoreServices -framework AudioUnit -framework ApplicationServices -framework CoreMIDI -framework vecLib -framework FLAC++ -framework FLAC -framework Vorbis -framework Ogg -framework LAME -arch i386 -Wl,-Y,1455 -mmacosx-version-min=10.2 -Wl,-dead_strip -multiply_defined warning -weak_framework LAME -weak_framework FLAC++ -weak_framework FLAC -weak_framework Vorbis -weak_framework Ogg - 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
cd /Users/ingvarnilsson/Desktop/programming/programming/ASD_OS_X
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.3.9.sdk
/usr/bin/g++-3.3 -o /Users/ingvarnilsson/Desktop/programming/ programming/ASD_OS_X/build/ASD1.build/Imported\ CodeWarrior\ Settings/ ASD\ final.build/Objects-normal/ppc/Amazing\ X -L/Users/ingvarnilsson/ Desktop/programming/programming/ASD_OS_X/build/Imported\ CodeWarrior\ Settings -L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3 -F/ Users/ingvarnilsson/Desktop/programming/programming/ASD_OS_X/build/ Imported\ CodeWarrior\ Settings -F../opensource/Lame/LAMEFrame/build/ Deployment -F/Users/ingvarnilsson/Desktop/programming/programming/ ASD_OS_X/../opensource/Lame/LAMEFrame/build/Deployment -F/Users/ ingvarnilsson/Desktop/programming/programming/ASD_OS_X/Frameworks - filelist /Users/ingvarnilsson/Desktop/programming/programming/ ASD_OS_X/build/ASD1.build/Imported\ CodeWarrior\ Settings/ASD\ final.build/Objects-normal/ppc/Amazing\ X.LinkFileList -framework Carbon -framework CoreAudio -framework AudioToolbox -framework QuickTime -framework CoreFoundation -framework CoreServices - framework AudioUnit -framework ApplicationServices -framework CoreMIDI -framework vecLib -framework FLAC++ -framework FLAC - framework Vorbis -framework Ogg -framework LAME -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.2 -Wl,-dead_strip -multiply_defined warning - weak_framework LAME -weak_framework FLAC++ -weak_framework FLAC - weak_framework Vorbis -weak_framework Ogg -Wl,-syslibroot,/Developer/ SDKs/MacOSX10.3.9.sdk
ld: warning multiple definitions of symbol _tanhf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _tanhf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _tanhf
ld: warning multiple definitions of symbol _sinf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _sinf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _sinf
ld: warning multiple definitions of symbol _sinhf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _sinhf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _sinhf
ld: warning multiple definitions of symbol _sqrtf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _sqrtf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _sqrtf
ld: warning multiple definitions of symbol _tanf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _tanf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _tanf
ld: warning multiple definitions of symbol _powf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _powf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _powf
ld: warning multiple definitions of symbol _cosf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _cosf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _cosf
ld: warning multiple definitions of symbol _log10f
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _log10f in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _log10f
ld: warning multiple definitions of symbol _coshf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _coshf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _coshf
ld: warning multiple definitions of symbol _hypotf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _hypotf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _hypotf
ld: warning multiple definitions of symbol _atan2f
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _atan2f in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _atan2f
ld: warning multiple definitions of symbol _expf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _expf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _expf
ld: warning multiple definitions of symbol _logf
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a (stubs.o) private external definition of _logf in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.dylib(floating.o) definition of _logf
ld: warning multiple definitions of symbol _tanhf
ld: warning multiple definitions of symbol _sinf
ld: warning multiple definitions of symbol _sinhf
ld: warning multiple definitions of symbol _sqrtf
ld: warning multiple definitions of symbol _tanf
ld: warning multiple definitions of symbol _powf
ld: warning multiple definitions of symbol _cosf
ld: warning multiple definitions of symbol _log10f
ld: warning multiple definitions of symbol _coshf
ld: warning multiple definitions of symbol _hypotf
ld: warning multiple definitions of symbol _atan2f
ld: warning multiple definitions of symbol _expf
ld: warning multiple definitions of symbol _logf
Build succeeded (15 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
  • Prev by Date: Workaround for xcode 2.3 hanging (rainbow cursor) on opening projects?
  • Next by Date: Folder references and contained files
  • Previous by thread: Re: Workaround for xcode 2.3 hanging (rainbow cursor) on opening projects?
  • Next by thread: Folder references and contained files
  • Index(es):
    • Date
    • Thread