On Sun, Mar 04, 2001 at 02:28:30PM -0000, dooshiant % wrote:
> hello
>
> I am unable to make bzImage when compiling the 2.4.2 kernel.
> Each time I get the message below.
> Can anyone help me out...
<snip>
> In file included from /usr/src/linux/include/linux/string.h:21,
> from /usr/src/linux/include/linux/fs.h:23,
> from /usr/src/linux/include/linux/
> /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in
> this function)
> make: *** [init/main.o] Error 1
Hmm, you problably forgot to make a symbolic link. You should extract your
kernel under /usr/src/2.4.2 and then make a symbolic link, called 'linux',
to that dir. Otherwise, you'll get the error messages you just discribed.
So : bunzip2 -d kernel-2.4.2.tar.bz2
tar -xvf kernel-2.4.2.tar /usr/src/
cd /usr/src/
mv linux 2.4.2
ln -s 2.4.2 linux
cd linux
After you've done that, your kernel should compile as expected.