LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-04-2009, 06:02 AM   #1
dante_des
LQ Newbie
 
Registered: Oct 2008
Location: Milan
Distribution: Debian-Lenny
Posts: 21

Rep: Reputation: Disabled
[lguest] Error 1 during compiling kernel


Hi,
I'm trying to compile my kernel (2.6.26 on debian lenny). I followed the standard procedure: download linux-source (by apt-get), create a simbolic link "linux" to the directory, use the config file in /boot, and do the following command:

make-kpkg --append-to-version -mykern --revision=1 kernel_image:


After compiling for long time, I get the following error:

Code:
make[1]: Leaving directory `/usr/src/linux-source-2.6.26'
/usr/bin/make EXTRAVERSION=-mykern ARCH=i386 \
-C Documentation/lguest
make[1]: Entering directory `/usr/src/linux-source-2.6.26/Documentation/lguest'
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include lguest.c -lz -o lguest
lguest.c:34:18: error: zlib.h: No such file or directory
make[1]: *** [lguest] Error 1
make[1]: Leaving directory `/usr/src/linux-source-2.6.26/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2
I can't understand why, I'm frustrated!
 
Old 12-04-2009, 07:58 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,454

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Quote:
zlib.h: No such file or directory
# apt-get install zlib1g-dev

.. will install the missing file(s).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: compilation Error - missing ...linux/Documentation/lguest directory JonesD1 Linux - Newbie 4 08-17-2009 06:50 AM
lguest ERROR when compiling kernel for first time Tolem Linux - Kernel 1 05-27-2009 02:30 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
Error compiling NVIDIA kernel module on 2.6.23.1 kernel Slaco Linux - Hardware 6 10-31-2007 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration