compiling kernel 2.6.16-1.2080_FC5-x86_64
Hi,
I'm trying to compile a 2.6.16 kernel version which is an additional test kernel source. I have fedora core 5.
I run $make gconfig, which loads a default configuration and i save it. Then, I run
[root@localhost linux]# make bzImage
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
If I try the 'make clean', i also get an error.
[root@localhost linux]# make clean && make mrproper
scripts/Makefile.clean:17: /usr/src/kernels/2.6.16-1.2080_FC5-x86_64/drivers/infiniband/ulp/srp/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64/drivers/infiniband/ulp/srp/Makefile'. Stop.
make[2]: *** [drivers/infiniband/ulp/srp] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [_clean_drivers] Error 2
I intalled the kernel source using $yum install devel... i read that FC5 may not install all needed for compiling kernel, but only to load modules.. or something like that..
I running these commands from /usr/src/linux
which is a link to /usr/src/kernel/kernel_version_number
drwxr-xr-x 3 root root 4096 Apr 17 20:22 kernels
lrwxrwxrwx 1 root root 42 Apr 17 20:23 linux -> /usr/src/kernels/2.6.16-1.2080_FC5-x86_64/
drwxr-xr-x 7 root root 4096 Mar 27 23:00 redhat
Any idea?
tnx,
Fernando
|