Messages in this thread |  | | | Date | Thu, 21 Jul 2011 17:56:54 +0300 | | From | Stratos Psomadakis <> | | Subject | Re: 2.6.33.16 Documentation/lguest breaks compile under debian x86 |
| |
On 07/21/2011 05:15 PM, Jean Marc Olivieri wrote: > 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@algoria.fr > > > > 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 More recent kernels have removed the zlib.h include (upstream patch 28ff4ef7 [1]), but the patch wasn't included it in the older -stable/-longterm kernels (obviously ;).
Anyway, you could also install the zlib headers (I think zlib1g-dev in Debian) to make lguest launcher code compile.
[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=28ff4ef71795fe6f6c0cc06a04911c9ca09c2c11
-- Stratos Psomadakis <psomas@ece.ntua.gr>
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |