Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

warning multiple definitions of symbol ___cxa_atexit and _atexit - why?





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

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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.