Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: help: configure: error: a working C++ compiler is required
On Mon, Oct 13, 2008 at 2:40 AM, Luke Mewburn <lukem%netbsd.org@localhost>
wrote:
> On Mon, Oct 13, 2008 at 02:33:26AM +0100, Mecislav Salar wrote:
> | could following be issue?
> |
> | # ls -l /lib/libc*
> | lrwxr-xr-x 1 root wheel 14 Sep 6 20:15 /lib/libc.so ->
> libc.so.12.163
> | lrwxr-xr-x 1 root wheel 14 Sep 6 20:15 /lib/libc.so.12 ->
> | libc.so.12.163
> | -r--r--r-- 1 root wheel 1161043 Jul 7 02:19 /lib/libc.so.12.160
>
> Probably, especially if the 'c++' command won't execute.
>
# cat hello.cpp
#include <iostream>
using namespace std;
main()
{
cout << "Hello";
return 0;
}
# /usr/bin/c++ /tmp/hello.cpp
/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetIP'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_DeleteException'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_RaiseException'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_SetIP'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetTextRelBase'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_SetGR'
/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetDataRelBase'
maybe should rm -rf /
and start afresh?
sorry if Mecislav wasted time, thank you
Home |
Main Index |
Thread Index |
Old Index