I know I've seen this before but I don't remember the fix -- when I try
to compile something that predates the upgrade to glibc, it can't find
stdio.h or any of about half a dozen other very basic libraries.  In
this case, I'm trying to compile gcc (gcc-2.7.2.3-8) and getting:


...
In file included from hash.c:32:
runtime.h:31: stdio.h: No such file or directory
runtime.h:32: ctype.h: No such file or directory
In file included from runtime.h:38,
                 from hash.c:32:
../objc/objc-api.h:32: stdio.h: No such file or directory
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/gcc/gcc-2.7.2.3/objc'
make: *** [libobjc.a] Error 2


Similarly, when compiling the enquire.c tool from the same package,
I get:

[root@ethel gcc-2.7.2.3]# make enquire
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC   -g -I./include    -DNO_MEM
-DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
./enquire.c:390: stdio.h: No such file or directory
./enquire.c:401: sys/types.h: No such file or directory
./enquire.c:402: signal.h: No such file or directory
./enquire.c:403: setjmp.h: No such file or directory
make: *** [enquire.o] Error 1


Of course, the named .h files are all in /usr/include; is there a
"blanket fix" that will take care of this, or do I have to do something
to each Makefile I use?


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to