2.6.33.16 Documentation/lguest breaks compile under debian x86
From: Jean Marc Olivieri
Date: Thu Jul 21 2011 - 10:25:17 EST
I'm currently using :
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.2 (squeeze)
Release: 6.0.2
Codename: squeeze
On x86 PC.
Kernel 2.6.33.16 fails to compile due to unfound include. Thus I got rid of it and it works.
I successfully built kernels against :
- x86
- x64
Here's the patch :
diff -u -r a/linux-2.6.33.16/Documentation/lguest/lguest.c b/linux-2.6.33.16/Documentation/lguest/lguest.c
--- a/linux-2.6.33.16/Documentation/lguest/lguest.c 2011-07-13 05:31:47.000000000 +0200
+++ b/linux-2.6.33.16/Documentation/lguest/lguest.c 2011-07-21 15:16:03.331040033 +0200
@@ -34,7 +34,6 @@
#include <sys/uio.h>
#include <termios.h>
#include <getopt.h>
-#include <zlib.h>
#include <assert.h>
#include <sched.h>
#include <limits.h>
Jean-Marc OLIVIERI
IngÃnieur dÃveloppement
+33 1 41 90 66 55
jmolivieri@xxxxxxxxxx
ALGORIA - Ãditeur de TWS
31, rue Ernest Renan 92130 Issy-les-Moulineaux
+33 1 41 90 66 66 (std) / +33 1 41 90 66 56 (fax)
www.algoria.fr
¢éì®&Þ~º&¶¬+-±éÝ¥w®Ë±Êâmébìdz¹Þ)í
æèw*jg¬±¨¶Ýj/êäz¹Þà2Þ¨èÚ&¢)ß«a¶Úþø®G«éh®æj:+v¨wèÙ>W±êÞiÛaxPjØm¶ÿÃ-»+ùd_