[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems compiling a kernel.
Hello
I'm a newbie to linux, but i've been using the system for several months
now, but I've never tried to recompile a kernel before. I've had some
trouble with compiling my RH5.2 kernel (2.0.36) and I thought I'll try the
new 2.2.3 kernel (it was apealing mainly due to it's OSS sound drivers,
since my secondary card is a lowly OPTi), but I encountered just the same
problems - can some one please tell me what am I doing wrong and/or
missing here ?
when I try to do 'make menuconfig' or 'make xconfig' I get the following
messages :
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.2.3/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
-DCURSES_LOC="<curses.h>" -c lxdialog.c -o lxdialog.o
make[1]: Leaving directory `/usr/src/linux-2.2.3/scripts/lxdialog'
In file included from lxdialog.c:22:
dialog.h:22: sys/types.h: No such file or directory
dialog.h:23: fcntl.h: No such file or directory
dialog.h:24: unistd.h: No such file or directory
dialog.h:25: ctype.h: No such file or directory
dialog.h:26: stdlib.h: No such file or directory
dialog.h:27: string.h: No such file or directory
dialog.h:29: curses.h: No such file or directory
lxdialog.c:53: locale.h: No such file or directory
make[1]: *** [lxdialog.o] Error 1
make: *** [menuconfig] Error 2
'make config' seems to work, so I fiddled with it a bit (I hope i didn't
do anything foolish :-> ), and then tried to do 'make dep' which resulted
in the following mesasges :
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
scripts/mkdep.c:13: ctype.h: No such file or directory
scripts/mkdep.c:14: stdio.h: No such file or directory
scripts/mkdep.c:15: stdlib.h: No such file or directory
scripts/mkdep.c:16: string.h: No such file or directory
scripts/mkdep.c:17: unistd.h: No such file or directory
scripts/mkdep.c:19: sys/fcntl.h: No such file or directory
scripts/mkdep.c:20: sys/mman.h: No such file or directory
scripts/mkdep.c:21: sys/stat.h: No such file or directory
scripts/mkdep.c:22: sys/types.h: No such file or directory
make: *** [scripts/mkdep] Error 1
I think it's maybe related , am I missing some very important piece of
source code ? where can I get it ? (I have the 2 RH5.2 and 5.1 disks, can
I find it on it ? what should I look for ?)
thanks a bunch.
Oded