looks like you are missing the include files that come with the kernel   
source tree. You don't have installed the kernel sources ?
if you don't want to install all the kernel sources, i think that redhat   
let you choose to install only the include files from the kernel. you   
should at least have installed theses.
If you need to compile c++ sources, you might have to change some   
variables (CC) in the top of the makefiles to reference egcs instead of   
gcc.
i suggest you install patch and diffutils even if these are not   
responsible for your problem today.

 -----Message d'origine-----
De: Abhishek Kumar [SMTP:[EMAIL PROTECTED]]
Date: mardi 22 d�cembre 1998 02:44
�: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet: compiling errors --

Hi,
    I have a very frustrating error while compiling and am unable to
build anything. Below is an examplle of the errors encountered while
buliding a simple app called wmifs. I get the same error while compiling
Qt also. I guess that I muct be missing some essential library. But I
have installeed very library remotely important from my Red Hat 5.2
cd-rom. However there is no libc-include or glibc-include library on the
cd-rom and it has "egcs c++" instead of the gcc ++ compiler. also patch
and diffutils utiilities are missing.
Can any of these be causing this problem.

I would really appriciate any help.
                                                                 Thank
You.

cc -c -O2 -Wall wmifs.c -o wmifs.o
In file included from /usr/include/posix1_lim.h:92,
                 from /usr/include/limits.h:27,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/limits.h:112,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/limits.h:11,
                 from /usr/include/sys/param.h:23,
                 from wmifs.c:165:
/usr/include/local_lim.h:21: linux/limits.h: No such file or directory
In file included from wmifs.c:165:
/usr/include/sys/param.h:24: linux/limits.h: No such file or directory
/usr/include/sys/param.h:25: linux/param.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:27,
                 from wmifs.c:167:
/usr/include/ioctls.h:23: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
                 from wmifs.c:167:
/usr/include/ioctl-types.h:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                 from wmifs.c:168:
/usr/include/socketbits.h:231: asm/socket.h: No such file or directory
In file included from wmifs.c:174:
/usr/include/net/ppp_defs.h:7: asm/types.h: No such file or directory
/usr/include/net/ppp_defs.h:8: linux/ppp_defs.h: No such file or
directory
make: *** [wmifs.o] Error 1

Reply via email to