Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    When i was compile my program i got errors.

    hi .,
    when i was compiling my hello world program i got error...kindly help me ,....
    my hello world program is :#include<stdio.h>
    int main()
    printf("hello world\n");
    return 0;
    My linux version is --Linux version
    /usr/bin/ld: crtbegin.o: No such file: No such file or directory
    collect2: ld returned 1 exit status

    kindly reply .........

    Saravanan G

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    1. What is the file name of your program?
    2. What is the command + options you are using to compile it?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Thank you for your reply.....That file is not there in my files ,i checked that path.... so I install the file using syntax --yum install gcc .now its running

  4. $spacer_open

Posting Permissions

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