A C program which was compiled properly in DevCPP is not compiling in Linux-Fedora.
A C program which compiled well in Dev CPP compiler is not compiling in Linux-Fedora.It shows the following error message
/tmp/ccy02C6e.o:(.eh_frame+0x12):undefined reference to '__gxx_personality_v0' collect2:ld returned 1 exit status |
Can you post the code along with the full command line you're using to compile it, please?
|
Well, you haven't posted any code or told us how you're compiling this, so I can only make guesses here.
Quote:
So, is this really C code that you're compiling, or is it C++? What command (`gcc` or `g++`) are you using to compile it? If you're using `gcc`, try `g++` instead (as this automatically links in the C++ libraries you need). |
All times are GMT -5. The time now is 05:21 AM. |