Results 1 to 8 of 8
i keep running into this error everytime i want to compile somthing, been searching the internet for a solution and i jsut cant find one.. so if somebody here could ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-08-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 6
gcc compiling error, help me please!!
i keep running into this error everytime i want to compile somthing, been searching the internet for a solution and i jsut cant find one.. so if somebody here could help, that would be awsome.
/root/tmp/ccMErtwB.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
- 04-08-2005 #2Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
What are you trying to compile?
Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 04-08-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 6
even when i try to compile a small application i wrote.. it comes with about 7 errors,
when really there shouldnt be any at all.. i just dont understand this
-----------------------------------------------------------------------------
the way i installed it was the command line "urpmi gcc"
then i just started trying to compile stuff, dont know if theres anything else i need to do
- 04-08-2005 #4Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Well, it's hard to offer assistance with the limited amount of information you've provided.
Can you compile a simple 'hello world' program? Are all the programs you're writting depending on a particular lib?
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 04-08-2005 #5Just Joined!
- Join Date
- Apr 2005
- Posts
- 6
i get like 10 errors from this
Code:#include <iostream> using namespace std; int main() { printf("Hello World"); return 0; }
- 04-08-2005 #6Linux Engineer
- Join Date
- Mar 2005
- Location
- Where my hat is
- Posts
- 766
List them please. We can't even begin to troubleshoot unless we know the specifics.
Registered Linux user #384279
Vector Linux SOHO 7
- 04-08-2005 #7Just Joined!
- Join Date
- Apr 2005
- Posts
- 6
to long to list so i pasted here
http://linpaste.sinusoid.com:7000/249
- 04-08-2005 #8Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
printf is in std.h, not iostream
printf is a c thing, iostream is c++. I think you're mixing c and c++, then trying to compile it.
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude


Reply With Quote
