rloc
02-20-2001, 03:16 PM
I would appreciate any assistance with the following problem.
I am running Mandrake 7.0 (Air), kernel2.2.14-15mdk on a Celeron 466 box and I am attempting to upgrade to kernek 2.4.0.
This is what I did:-
(All done in a konsole window with KDE running)
Downloaded linux-2.4.1.tar.gz to /usr/src
tar -xzf linux-2.4.1.tar.gz
make xconfig
system then returned the following messages:-
rm -f include/asm
(cd include ; ln -sf asm -i386.asm)
make -C scripts kconfig.tk
make [1]: entering directory 'usr/src/linux/scripts'
Gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -c -o tkparse.o tkparse.c
tkparse.c:48:stdio.h:no such file or dir
tkparse.c:49:stdlib.h: "
tkparse.c:50:string.h: "
make [1]:*** [tkparse.o] error 1
make [1]: leaving directory 'usr/src/linux/scripts'
make:*** [xconfig] error 2
After a lot of abortive fiddling I then did:-
make config
This appeared to go O.K
The I did this:-
make dep && make bzimage && make modules && make modules_install
The system then returned the following:-
gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c:27:ctype.h: no such file or dir
scripts/mkdep.c:28:fcntl.h: no such file or dir
" :29:stdio.h: "
" :30:stdlib.h: "
" :31:string.h: "
" :32:unistd.h: "
" :34:sys/fcntl.h "
" :35:sys/mman.h "
" :36:sys/stat.h "
" :37:sys/types.h "
I then checked for the following versions
have require
gnu c ver 2.95.2 2.91.66
gnu make ver 3.77 3.77
binutils ver 2.9.5 2.9.1.0.25
util-linux ver 2.10b 2.10b
modutils ver 2.1.121 2.4.0 *
e2fsprogs ver 1.18 1.19 *
ppp ver 2.3.10 2.4.0b1 *
I then downloaded the .tar.gz files for those
files marked with * above, but I can not get
the ./configure command to work.
The ./configure returns:-
checking for gcc... cc
checking whether the c compiler (cc) works ..no
configure:error:installation or configuration problem:c compiler cannot create executables
This is my first attempt at compiling a kernel so I am completely lost at this point.
Thanks for your help
Robert
I am running Mandrake 7.0 (Air), kernel2.2.14-15mdk on a Celeron 466 box and I am attempting to upgrade to kernek 2.4.0.
This is what I did:-
(All done in a konsole window with KDE running)
Downloaded linux-2.4.1.tar.gz to /usr/src
tar -xzf linux-2.4.1.tar.gz
make xconfig
system then returned the following messages:-
rm -f include/asm
(cd include ; ln -sf asm -i386.asm)
make -C scripts kconfig.tk
make [1]: entering directory 'usr/src/linux/scripts'
Gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -c -o tkparse.o tkparse.c
tkparse.c:48:stdio.h:no such file or dir
tkparse.c:49:stdlib.h: "
tkparse.c:50:string.h: "
make [1]:*** [tkparse.o] error 1
make [1]: leaving directory 'usr/src/linux/scripts'
make:*** [xconfig] error 2
After a lot of abortive fiddling I then did:-
make config
This appeared to go O.K
The I did this:-
make dep && make bzimage && make modules && make modules_install
The system then returned the following:-
gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c:27:ctype.h: no such file or dir
scripts/mkdep.c:28:fcntl.h: no such file or dir
" :29:stdio.h: "
" :30:stdlib.h: "
" :31:string.h: "
" :32:unistd.h: "
" :34:sys/fcntl.h "
" :35:sys/mman.h "
" :36:sys/stat.h "
" :37:sys/types.h "
I then checked for the following versions
have require
gnu c ver 2.95.2 2.91.66
gnu make ver 3.77 3.77
binutils ver 2.9.5 2.9.1.0.25
util-linux ver 2.10b 2.10b
modutils ver 2.1.121 2.4.0 *
e2fsprogs ver 1.18 1.19 *
ppp ver 2.3.10 2.4.0b1 *
I then downloaded the .tar.gz files for those
files marked with * above, but I can not get
the ./configure command to work.
The ./configure returns:-
checking for gcc... cc
checking whether the c compiler (cc) works ..no
configure:error:installation or configuration problem:c compiler cannot create executables
This is my first attempt at compiling a kernel so I am completely lost at this point.
Thanks for your help
Robert