Find the answer to your Linux question:
Results 1 to 3 of 3
hi... i am getting an error "stdio.h: No such file or directory" how to solve it? source code: #include <stdio.h> int main (void) { return 0; } version: fedora core ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    stdio.h: No such file or directory

    hi...
    i am getting an error "stdio.h: No such file or directory"
    how to solve it?

    source code:
    #include <stdio.h>
    int main (void)
    {
    return 0;
    }

    version: fedora core release 2
    kernel: 2.6.5-1.358smp
    note: stdio.h file not available in the directory /usr/include

    thanks...

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    Quote Originally Posted by elaa82 View Post
    hi...
    i am getting an error "stdio.h: No such file or directory"
    how to solve it?

    source code:
    #include <stdio.h>
    int main (void)
    {
    return 0;
    }

    version: fedora core release 2
    kernel: 2.6.5-1.358smp
    note: stdio.h file not available in the directory /usr/include

    thanks...
    Welcome to elaa, try installing "glibc-headers" package.
    yum install glibc-headers
    or search the rpm for your distro ..Your distro Fedora Core 2 is almost 8 years old. We have Fedora 12. Better move to latest distros.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    stdio.h: no such file or dir

    i should use fedora core 2 only.

    i will try and come back to u.

Posting Permissions

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