1. Install the kernel source code package:. SRC. rpm and. RPM packages have different installation methods. You can use rpm-qpl to query RPM content.
# Rpm-IVH kernel-2.6.32-431.el6.src.rpm
Warning: User mockbuild does not exist-using root
Warning: group mockbuild does not exist-using root
Ignore directly.
Ii. kernel source code is not generated in/usr/src for the following reasons:
The. SRC. RPM installation package will generate rpmbuild in the/root directory, which contains two directories: Sources and specs.
Source. Decompress the package to the/usr/src directory.
3. Install ncurses-devel gcc
4. Start running the make menuconfig configuration.
Remove wireless and infrared
V. Start Compilation: Make
Crypto/Signature/ksign-publickey.c: 2: 17: Error: Key. h: no such file or directory
Crypto/Signature/ksign-publickey.c: In function 'ksign _ init ':
Crypto/Signature/ksign-publickey.c: 10: Error: 'ksign _ def_public_key 'undeclared (first use in this function)
Crypto/Signature/ksign-publickey.c: 10: Error: (each undeclared identifier is reported only once
Crypto/Signature/ksign-publickey.c: 10: Error: for each function it appears in .)
Crypto/Signature/ksign-publickey.c: 11: Error: 'ksign _ def_public_key_size 'undeclared (first use in this function)
Make [2]: **** [crypto/Signature/ksign-publickey.o] Error 1
Make [1]: *** [crypto/Signature] Error 2
Make: *** [crypto] Error 2
Solution:
Run make menuconfig.
1) Select "enable loadable module support", then "module signature verification (experimental)". disable it.
2) then go back to the main menu, select "cryptographic API" then "in-kernel signature Checker (experimental)" and disable that one too.
Then go back again, save your Config and make your kernel. At least, it will pass this phase successfully.
6. Re-compile: Make
Net/wireless/wext-priv.c: In function 'ioctl _ private_call ':
Net/wireless/wext-priv.c: 207: Error: Implicit declaration of function 'call _ commit_handler'
Solution:
Drivers/NET/wireless/kconfig
Menuconfig WLAN
Bool "Wireless LAN"
Depends on! S390
+ Depends on Net
Installation Process and Problem Analysis of kernel-2.6.32-431.el6.src.rpm kernel source code