LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2009, 01:35 AM   #1
Tolem
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
lguest(zlib) ERROR when compiling kernel for first time


I did a fresh net-install of debian lenny and installed the 2.6.26-2-686 kernel with it. This is on a dell d600 laptop (1.5ghz pentium M /w 256mb ram) and I had some trouble with the pcmcia not working as well as the sound so I figured now would be a good time to learn how to upgrade my kernel and configure it just for this machine.

I followed this guide: http://www.osnews.com/story/2949 to the letter and I used the "latest stable" 2.6.29.4 kernel from kernel.org.

After my laptop cranks away for about an hour I finally get an error relating to lguest zlib.h.

So the first time I had answered all the (Y, N, M) questions from scratch and figured well I must have screwed something up. I rebuilt it using the current configuration file (I told it to look in /boot to find it) and just changed the main aspects: my processor type, audio and pcmcia. I still got the same error in the same place. Then I said to hell with it and just kept the configuration the same without changing a single thing, and still get the error!

I made sure to #make clean each time I tried.

The command I used to compile the kernel was:
make-kpkg --revision=2.6.29-4-686 kernel_image

*I caught that right before it starts to compile it tells me something along the lines of:
'I noticed you have a hyphen in your revision number, please make sure the something something numbers are Debian policy compliant so the make will not halt at the end or something like that.
Is this an issue?

Its getting pretty annoying having to wait an hour for the thing to go through its paces just to find out that I have failed, so I'm coming to you for help as maybe I am overlooking something easy?

Thanks

Last edited by Tolem; 05-27-2009 at 02:41 AM.
 
Old 05-27-2009, 02:30 AM   #2
Tolem
LQ Newbie
 
Registered: May 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Fixed!

solution:
#aptitude install zlib1g-dev

Last edited by Tolem; 05-27-2009 at 11:12 AM.
 
  


Reply

Tags
compile, error, kernel


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
Compiling kernel for first time... phantom_cyph Slackware 3 05-21-2008 11:49 AM
Compiling kernel for the first time need some assistance badgerbox76 Linux - Newbie 10 01-11-2006 09:01 AM
Compiling a Kernel for the first time? RodWC Debian 12 10-31-2005 06:55 AM
Kernel Compiling time Contest! lokee General 15 05-16-2003 04:04 PM
compiling kernel/first time...issue wr3ck3d Linux - General 3 02-28-2003 09:27 PM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration