Click to See Complete Forum and Search --> : Kernel Compilation problems


Linux
02-17-2001, 04:45 AM
I have RH7 with all required software versions for kernel 2.4.1 compilation. I followd instructions by Brian Jones from nhf. When I ran 'make bzImage' it worked for some time and then stopped at:

make[3]: Entering Directory '/root/kernel/linux/drivers/ide'
gcc -D__Kernel__ -I/root/kernel/linux/include/ -Wall xxx...

boundary=2 -march=k6 -DEXPORT_SYMTAB -c ide.c

That is where it stops. I had to do ctrl+c and it said something along these lines

wait: No child processes. Stop.
Waiting for unfinished jobs...

What could be wrong??? :confused:

One more thing. Do I delete linux folder and uncompress kerenel image and start from beginning again or is there a shortcut?

ThanX

[ 17 February 2001: Message edited by: Linux ]

sans-hubris
02-17-2001, 05:32 AM
How long did you wait? Kernel compilation takes a very long time, especially on older machines.

Linux
02-17-2001, 10:35 AM
I have AMD k6-2 500Mhz and 256MB of ram and I
waited for about 20 minutes. GCC process is stil running and taking lots of cpu%. I tried killing it but it does not work. Kill proccesID does not work. Is there a command that will kill that process??
:rolleyes:

wbd
02-17-2001, 04:21 PM
Redhat 7 uses a special compiler for the kernel, as the default one won't work (properly). It's called kgcc - will be on your CD. You can edit the kernel makefile to point to it.

Linux
02-17-2001, 05:38 PM
I had kgcc installed on my system. Now which line(s) in Makefile should I change? Is it one of these:

HOSTCC = gcc
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer

CC = $(CROSS_COMPILE)gcc

This is my first time compiling the kernel and I can't do it. I survived similar challenges with samba, home network, and portforwarding.

Linux, Linux, Linux :cool:

[ 17 February 2001: Message edited by: Linux ]

Linux
02-18-2001, 01:05 PM
When I pointed to kgcc instead of gcc in Makefile it stopped make bzImage proccess also at earlier stage. I guess I'll just wait for Red Hat to make rpm's. :rolleyes: