Failed to compile 2.6.30 kernel in debian5.0 -- Linux Release Technology-Debian information. The following is a detailed description. Compiling the linux-2.6.30 twice according to the debian guide for help.
The make menuconfig step is normal and no wrong is found;
But:
When fakeroot make-kpkg -- revision = mykernel.2.6.30 kernel_image is completed, the following error message is displayed:
Make [1]: Leaving directory '/usr/src/linux-2.6.30'
/Usr/bin/make ARCH = i386 \
-C Documentation/lguest
Make [1]: Entering directory '/usr/src/linux-2.6.30/Documentation/lguest'
Cc-Wall-Wmissing-declarations-Wmissing-prototypes-O3-I .. /.. /include-I .. /.. /arch/x86/include-U_FORTIFY_SOURCE lguest. c-lz-o lguest
Lguest. c: 34: 18: error: zlib. h: the file or directory does not exist.
Make [1]: *** [lguest] Error 1
Make [1]: Leaving directory '/usr/src/linux-2.6.30/Documentation/lguest'
Make: *** [debian/stamp/build/kernel] Error 2
Debian:/usr/src/linux-2.6.30 #
The compiling environment is vmware6.5. The kernel modules are default and unchanged. Please kindly advise ~~ Thank you.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service