According to David C. Churchill: While burning my CPU.
> 
> Some please help me (again).
> 
> I was trying to patch my kernel from 2.0.34 to 2.0.37.
> First I backed up my existing source tree (from which I have compiled
> several kernels with no problems).
> Then I downloaded and installed the patches (in order) according to the
> README in /usr/src/linux.  Checking for *.reg or # files revealed no
> problems so I assumed the patches were good.
> 
> I then ran:
>      make mrproper
>     make xconfig
>     make dep
>     make clean, and finally
>     make zImage
> which gives me the following errors:
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
> O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -ma
> lign-jumps=2 -malign-functions=2 -DCPU=586  -c -o init/main.o init/main.c
> In file included from init/main.c:19:
> /usr/src/linux-2.0.34/include/linux/config.h:4: linux/autoconf.h: No such
> file or directory
> init/main.c: In function `get_options':
> init/main.c:269: warning: subscript has type `char'
> make: *** [init/main.o] Error 1
> 
> After trying this a few times I removed the patched tree, restored the
> original sources and tried to compile again with the same errors.


Somehow you removed the symlinks in /usr/include to correct the problem do;

                cd /usr/include
                rm -rf asm linux scsi
                ln -s /usr/src/linux/include/asm-i386 asm
                ln -s /usr/src/linux/include/linux linux
                ln -s /usr/src/linux/include/scsi scsi

> 
> Anybody have a clue as to what I've broken?
> 
> TIA,
> David
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to