According to JOSE NG LEE: While burning my CPU.
> 
> 
> I am using slackware linux installation and had compiled before
> kernel 2.0.35 with no problems.
> 
> Now, I downloaded linux-2.0.36.tar.gz from sunsite.unc.edu
> to upgrade to kernel 2.0.36 but I get the message below
> at the make zImage step. 
> 
> init/main.c: In function `get_options':
> init/main.c:259: warning: subscript has type `char'
> make: *** [init/main.o] Error 1
> 
> Can someone help me to figure out what is wrong?

1) You did not remove the old source first, which has left some old files
lying around.

2) You did not follow the steps written in /usr/src/linux/README.

If you try the following that should result in a successfull compile.

cd /usr/src
Depending on the old linux directory being a symbolic link or a hard
directory do one of the following.

symbolic link;
rm linux
mkdir linux-2.0.36
ln -s linux-2.0.36 linux
tar xzf linux-2.0.36.tar.gz

hard directory.
mv linux linux-old
mkdir linux-2.0.36
Continue as above.

cd linux
make mrproper
make config or menuconfig 
make dep clean zImage
make modules (if modules were defined)
make modules_install

> 
> THANK YOU
> 
> JOSE NG / HP2CWB
> e-mail:  [EMAIL PROTECTED]
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Happy New Year, and may all your troubles be small (ones).

Reply via email to