According to Abhishek Kumar: While burning my CPU.
> 
> 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.
> 

Yes, you need some if not all of them, also it seems you dont have the
kernel source included, and/or:

1) No 'headers files'
2) Header files are installed but there is no symbolic links in
 /usr/include

I would think that you dont have them installed as "cc" cannot find;
the asm/* or linux/* header files.

You need symbolic links like;

cd /usr/include
                ln -s /usr/src/linux/include/asm-i386 asm
                ln -s /usr/src/linux/include/linux linux
                ln -s /usr/src/linux/include/scsi scsi


The errors here underneath are caused by no header files and not librarys.
I suggest you install both gcc and egcs, as to compile 2.0.xx kernels you
will need gcc and egcs for 2.1.xxx kernels. 

You have no learn't that installing only "half" a linux system can be
enoying at the very least.

> 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

-- 
Regards Richard.
[EMAIL PROTECTED]

Merry Xmas to all, and may all your troubles be small (ones).

Reply via email to