Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everybody: I am a new user of ubuntu 7.04! when i used gcc to complie my *.c,it told me:stdio.h No such file or directory. I install gcc with the ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    Help!a problem of gcc

    Hi everybody:


    I am a new user of ubuntu 7.04!
    when i used gcc to complie my *.c,it told me:stdio.h No such file or directory.
    I install gcc with the command:apt-get install gcc

    I think i lose a package,but i do not know which one is right!

    Please help me !

    anyway,thanks for your browsing!

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    I think you also need glibc-devel to be able to compile your own programs, or even better, install

    build-essential
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Linux User
    Join Date
    Oct 2004
    Location
    /dev/random
    Posts
    404
    Quote Originally Posted by Juan Pablo View Post
    I think you also need glibc-devel to be able to compile your own programs, or even better, install

    build-essential
    build-essential is enough, no need for glibc-devel.
    glibc-devel is required if you want to develop glibc parts.
    The Unforgiven
    Registered Linux User #358564

  4. #4
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    I thought glibc-devel contained headers like stdio, well, good to know you only need build-essential
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  5. #5
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    thank you

    I install a package which is called "libc6-dev",then everything is ok!

    with this command :sudo apt-get install libc6-dev

    thank you all the same!

Posting Permissions

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