Re: 2.2.17pre10-ben2 kernel and MOL


Subject: Re: 2.2.17pre10-ben2 kernel and MOL
From: Martin Costabel (costabel@wanadoo.fr)
Date: Mon Jul 31 2000 - 09:57:42 MDT


Mike Engelhart wrote:
>
> Hi,
>
> I just downloaded Ben H's precompiled 2.2.17pre10-ben2 kernel from
> ppclinux.apple.com to fix problems with my Lombard powerbook's video
> (which it does!!). But now I want to run MOL, so I downloaded the
> 0.9.48.tar.gz file and changed the symlink in my /usr/src so that linux
> pointed to the /usr/src/linux-2.2.17pre10-ben2 source code for the
> precompiled kernel I am using and when I compile MOL, I get the
> following error:
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory.
>
> So i looked into the kernel source that I downloaded and in the include
> directory there is no asm directory. There is an asm-ppc and an
> asm-sparc, etc but none of them are generic asm directories.
> Is this a MOL problem or does this kernel source have a different
> directory structure than MOL expects?

Your kernel sources are too virgin. As soon as you do any configuring or
compiling, the symlink asm -> asm-ppc gets created. You can do this by
hand:

cd /usr/src/linux/include
ln -s asm-ppc asm

or say "make symlinks" in /usr/src/linux

Probably you should also verify that you have a symlink
/usr/include/asm -> ../src/linux/include/asm

--
Martin



This archive was generated by hypermail 2a24 : Mon Jul 31 2000 - 10:01:14 MDT