compile problems (no stdio.h, math.h etc.)



I am new to compiling c programs and have run into some problems.
 I have RH 5.2 running on an i386 with gcc version 2.7.2.3 (installed from rpm gcc-2.7.2.3-14.rpm) and the libraries came from glibc-2.1.1-6.rpm and libc-5.3.12-27.rpm.  When I try to compile a c program it cannot find the header files <stdio.h>, <math.h> etc.  I cannot find these files with locate and am wondering why they do not exist even though the rpm's are installed.  Do I need the gcc source?  I have the linux source tree installed and have created all my path from /usr/include correctly.  Any ideas at all would be very helpful!
 
(Specs are located at /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs)
 
TIA,
Allan 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]