Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Linux 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

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  6. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    6
    i get like 10 errors from this

    Code:
    #include <iostream>
    using namespace std;
    
    int main&#40;&#41;
    &#123;
    	printf&#40;"Hello World"&#41;;
    	return 0;
    &#125;

  7. #6
    Linux 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

  8. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    6
    to long to list so i pasted here

    http://linpaste.sinusoid.com:7000/249

  9. #8
    Linux 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.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •