Re: help: g++ error on G5
Re: help: g++ error on G5
- Subject: Re: help: g++ error on G5
- From: wob <email@hidden>
- Date: Thu, 26 Oct 2006 14:43:40 -0700 (PDT)
Thanks for the notes. I think you nailed it.. I'm using only g++, but I saw in the program header files, there are mix of C headers and C++ headers. I guess for some C headers g++ goes into a different libgcc, or something like that.. I'll see if I can figure it out (the program is big and i'm not the author. it compiles fine on Windows).. Thanks again!
Martin Costabel <email@hidden> wrote:
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 you Yahoo!?
Everyone is raving about the
all-new Yahoo! Mail. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden