Quote:
Originally Posted by Lenard
Looks like you are missing something like the kernel .config file or the kernel development tools. What steps did you take just prior to this step?
Extracting (installing the kernel source;
rpm -ivh kernel-<version>,src.rpm
After extracting and before building (this is required);
cd /usr/src/redhat/SPECS
rpmbuild -bp --target $(arch) kernel-2.6.spec
Starting from where the kernel source is;
<optional -- apply additional patches here>
make mrproper
<optional -- copy a known working config here>
make menuconfig (or gconfig ;this is where you configure the kernel)
make
make modules_install
make install
|
Thanks for the help.. but I seem's to be some more problems..
New problems when running "make mrproper"
[root@lnxtest02 tmp]# rpm -ivh kernel-2.6.9-34.EL.src.rpm
warning: kernel-2.6.9-34.EL.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:kernel ########################################### [100%]
[root@lnxtest02 tmp]# cd /usr/src/redhat/SPECS
[root@lnxtest02 SPECS]# rpmbuild -bp --target i686 kernel-2.6.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.92573
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf kernel-2.6.9
+ /bin/mkdir -p kernel-2.6.9
+ cd kernel-2.6.9
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/linux-2.6.9.tar.bz2
+ tar -xf -
MANY ROWS LATER
removed `./arch/s390/kernel/traps.c.orig'
removed `./arch/s390/kernel/head64.S.orig'
removed `./arch/s390/kernel/ptrace.c.orig'
removed `./arch/s390/mm/init.c.orig'
removed `./arch/s390/Makefile.orig'
+ find . -name '*~' -exec rm -fv '{}' ';'
+ exit 0
[root@lnxtest02 SPECS]#
[root@lnxtest02 2.6.9-34.EL-i686]# pwd
/usr/src/kernels/2.6.9-34.EL-i686
[root@lnxtest02 2.6.9-34.EL-i686]# make mrproper
CLEAN init
CLEAN .tmp_versions
CLEAN include/asm-i386/asm_offsets.h
scripts/Makefile.clean:10: Documentation/DocBook/Makefile: No such file or directory
make[1]: *** No rule to make target `Documentation/DocBook/Makefile'. Stop.
make: *** [_mrproper_Documentation/DocBook] Error 2