On Thu, 11 Nov 1999, Tony Nugent wrote:

> 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

Tony,

Thank you for the advice. However, I have installed the kernel header
files and the linux source is there. I followed your steps verbatim and I
still get the same error. The interesting thing is that I can do a "find"
command and get this:

[root@cy18291-c Mesa-3.0]# find / -name asm -print
/usr/include/asm
/usr/lib/bcc/include/asm
/usr/lib/perl5/5.00503/i386-linux/asm
/usr/local/include/asm

However, when I do this:

[root@cy18291-c Mesa-3.0]# 
[root@cy18291-c Mesa-3.0]# cd /usr/include/
[root@cy18291-c include]# cd asm
asm: No such file or directory.
[root@cy18291-c include]# 

it does not seem to be there, as you can see. Any other ideas?

Thanks!
        ---Mike



 
> 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
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
> 

===============================================
Senior Webmaster - Systems Administrator
SpinWeb Net Designs - http://www.spinweb.net
Email: [EMAIL PROTECTED]
Digital PCS: (765) 215-7063
===============================================

Reply via email to