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!