mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stratos Psomadakis <psomas@ece.ntua.gr>
To: Jean Marc Olivieri <jmolivieri@algoria.fr>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.33.16 Documentation/lguest breaks compile under debian x86
Date: Thu, 21 Jul 2011 17:56:54 +0300	[thread overview]
Message-ID: <4E283E36.6060904@ece.ntua.gr> (raw)
In-Reply-To: <1CCDCE528ADEE240A3F216D1B406A8F3472E91EF@PDCParis.algoria.local>

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>


  reply	other threads:[~2011-07-21 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 14:15 Jean Marc Olivieri
2011-07-21 14:56 ` Stratos Psomadakis [this message]
2011-07-21 15:58   ` Jean Marc Olivieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E283E36.6060904@ece.ntua.gr \
    --to=psomas@ece.ntua.gr \
    --cc=jmolivieri@algoria.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®