Re: libstdc++.so: undefined reference to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lulu he <loloseed@xxxxxxxxx> writes:

> I got gcc42,gcc43,and gcc34,seperately in /usr/local/gcc42 ,
> /usr/local/gcc43 , /usr/local/gcc34 directory on my server.
>
> I use gcc43 to compile PARSEC benchmark,but i got the following error:
> /usr/local/libstdc++.so: undefined reference to '_Unwind_GetIPInfo@xxxxxxxxx'
> /usr/local/libstdc++.so: undefined reference to ...
> ...
>
> I have link /usr/local/lib64/libstdc++.so TO
> /usr/local/gcc43/libstdc++.so.6.0.10 ,
> and I don't know what's going wrong?

The error message refers to /usr/local/libstdc++.so, not
/usr/local/lib64/libstdc++.so.  It sounds like you are compiling with
gcc 4.3 and linking dynamically against a libstdc++.so built with gcc
4.2.  In some cases that will work, in others it won't.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux