Hello Michael,

Thursday, November 11, 1999, 1:10:57 PM, you wrote:

MR> On Thu, 11 Nov 1999, Tony Nugent wrote:

>> On Wed Nov 10 1999 at 13:13, Michael Reynolds wrote:
>>
>>
>> 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

MR> Tony,

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

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

MR> However, when I do this:

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

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

MR> Thanks!
MR>         ---Mike

I think you should go as follows:
1. su -
2. cd /usr/src/linux/include
3. ln -sf asm-i386 asm
Then it will works.
If that doesn't works either, try:
4. cd /usr/include
5. ln -sf ../src/linux/include/asm asm
6. ln -sf ../src/linux/include/linux linux


Best regards
_______________________________________________________

Jianping Song              Dept. of Computer Sci & Tech
Tel:(010)62788076(o)       Tsinghua University
    (010)62778032(d)       Beijing, P.R.China
E-Mail:     [EMAIL PROTECTED]
_______________________________________________________

Reply via email to