kernel compile problems w/ 2..2.19k (yd2.0)


Subject: kernel compile problems w/ 2..2.19k (yd2.0)
From: Adam (adamhadm@frontiernet.net)
Date: Mon Nov 19 2001 - 08:48:54 MST


I have not been able to compile the kernel at all 2.2.x or 2.4.x. 1st I
was not able to get xconfig working but for some reason it started
working. Then for some reason I am have not been able to compile the
kerel now with xconfig working. I was able to compile a kernel before
when xonfig did not work but with menuconfig.

This errors are from 2.2.18k kernel (standard with yd 2.0) all other
attempts with other kernels are zilch...

Steps I have alsays taken..

make xconfig or menuconfig
make dep
make clean
make

upon make I get this...

[root@asterix linux]# make
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
                 from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

I checked to see if errno.h was in the dirrectly and it was... I am
miffed when it comes to the kernel code..

previous xconfig errors I recieved when I could not get xconfig
working...

[root@asterix linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-ppc asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.10/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o
tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o
tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/ppc/config.in >> kconfig.tk
drivers/net/Config.in: 278: unknown command
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.10/scripts'
make: *** [xconfig] Error 2

Any sujestions, I have been racking my brain and have been looking for
answers all over the place and nothing so I am asking the list for any
help.

-Adam



This archive was generated by hypermail 2a24 : Mon Nov 19 2001 - 08:55:55 MST