Mailing Lists: Apple Mailing Lists

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

Re: help: g++ error on G5



wob wrote:
Hi there,

I got the following error when i tried to compile a C++ program (OS X 10.3.9, PowerPC):

ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference to symbol: ___cmpdi2 defined in indirectly referenced dynamic library /usr/local/lib/libgcc_s.1.dylib

Without seeing more details, the only thing one can see from this output is that you seem to be mixing different compilers, which is always a dangerous thing to do. Some of the objects that you are linking now have been compiled using (at least parts of) a compiler that lives in /usr/local, not the Apple gcc-3.3 that you are using now.


--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >help: g++ error on G5 (From: wob <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.