On Wed Nov 10 1999 at 13:13, Michael Reynolds wrote:
> Hello. I still can't seem to compile anything on RedHat 6.1. I'm getting
> the following error:
>
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
> make[2]: *** [mthreads.o] Error 1
> make[2]: Leaving directory `/tmp/Mesa-3.0/src'
> make[1]: *** [linux] Error 2
> make[1]: Leaving directory `/tmp/Mesa-3.0/src'
> make: *** [linux] Error 2
> [michael@cy18291-c Mesa-3.0]#
>
>
> It is apparent to me that I'm missing an "asm" directory but I do not know
> what this is or where to get the necessary files. I have searched RedHat's
> KB and found nothing. I have also installed the kernel headers from my
> RedHat 6.1 CD but I still get the error. Any ideas?
>
> Thanks!
You first need the kernel sources or at least the kernel header files
installed. (With RedHat, you can install the kernel header from a
separate rpm). Then you need to make sure that these symlinks exist
(installing the rpm should do all this for you)...
su -
cd /usr/src
ln -sf linux-2.X.X linux
cd /usr/include
ln -sf ../src/linux/include/asm
ln -sf ../src/linux/include/linux
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <[EMAIL PROTECTED]> Systems Administrator
GrowZone OnLine (a project of) GrowZone Development Network
POBox 475 Toowoomba Oueensland Australia 4350 Ph: 07 4637 8322
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-