I was trying to compile a standard cpp file. (just a simple printf line of code). And gcc came up with the following error
user@comp:~/dir$ gcc -o a test.cpp
/tmp/ccIip5Jd.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
Now I dont think this used to happen...however it happens on two machines, both with slackware 10 installed, one with the standard kernel, one with 2.6.10.
cc does not work either (same error)
g++ does work...but I would like to know wots wrong with gcc. (as far as I can tell programs have been compiling from source properly)
Any Help would be much appreciated