kalle314
July 29th, 2005, 09:53 AM
I used Synaptic to download and install the packages I thought I would need:
gcc (4:3.3.5-1)
g++ (4:3.3.5-1)
libg++27 (2.7.2.1-19)
libgcc1 (1:4.0.0-7ubuntu...)
and some other packages that were included automatically.
The helloworld program works fine for g++, but for gcc I got
"/tmp/cc0f2Ifm.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status".
I have two larger c++ programs that can be compiled by gcc and g++ in solaris and cygwin (and runs fine) , but neither of these programs can be compiled now (both gcc and g++ fails to compile.)
(For example, I get parsing errors and
"/usr/include/langinfo.h:48: error: `__LC_TIME' was not declared in this scope
/usr/include/langinfo.h:48: error: enumerator value for `ABDAY_1' not integer
constant
/usr/include/langinfo.h:241: error: `__LC_COLLATE' was not declared in this
scope".)
What shall I do?
gcc (4:3.3.5-1)
g++ (4:3.3.5-1)
libg++27 (2.7.2.1-19)
libgcc1 (1:4.0.0-7ubuntu...)
and some other packages that were included automatically.
The helloworld program works fine for g++, but for gcc I got
"/tmp/cc0f2Ifm.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status".
I have two larger c++ programs that can be compiled by gcc and g++ in solaris and cygwin (and runs fine) , but neither of these programs can be compiled now (both gcc and g++ fails to compile.)
(For example, I get parsing errors and
"/usr/include/langinfo.h:48: error: `__LC_TIME' was not declared in this scope
/usr/include/langinfo.h:48: error: enumerator value for `ABDAY_1' not integer
constant
/usr/include/langinfo.h:241: error: `__LC_COLLATE' was not declared in this
scope".)
What shall I do?