Re: libstdc++.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'

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

 



Andrew Haley wrote:
> Simon Elbaz wrote:
> 
>> The version of my compiler is: gcc 4.3.1
>> When I try to compile a C++ program, I get this error:
>>
>> /usr/local/gcc//lib/libstdc++.so: undefined reference to
>> `_Unwind_GetIPInfo@xxxxxxxxx'
>> collect2: ld returned 1 exit status
>> make[2]: *** [adamad] Error 1
>>
>> What can I do to compile the program without this error?
> 
> Something has gone wrong with your gcc installation.  You need
> to install the compiler again.  The most likely reason for this
> problem is that you have a mixture of compiler and libraries.

One other possibility to check: you may have an old version of
libstdc++.so in /usr/local and your LD_LIBRARY_PATH points into there.

Andrew.

[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