* 2.6.33.16 Documentation/lguest breaks compile under debian x86
@ 2011-07-21 14:15 Jean Marc Olivieri
2011-07-21 14:56 ` Stratos Psomadakis
0 siblings, 1 reply; 3+ messages in thread
From: Jean Marc Olivieri @ 2011-07-21 14:15 UTC (permalink / raw)
To: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1140 bytes --]
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
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: 2.6.33.16 Documentation/lguest breaks compile under debian x86
2011-07-21 14:15 2.6.33.16 Documentation/lguest breaks compile under debian x86 Jean Marc Olivieri
@ 2011-07-21 14:56 ` Stratos Psomadakis
2011-07-21 15:58 ` Jean Marc Olivieri
0 siblings, 1 reply; 3+ messages in thread
From: Stratos Psomadakis @ 2011-07-21 14:56 UTC (permalink / raw)
To: Jean Marc Olivieri; +Cc: linux-kernel
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: 2.6.33.16 Documentation/lguest breaks compile under debian x86
2011-07-21 14:56 ` Stratos Psomadakis
@ 2011-07-21 15:58 ` Jean Marc Olivieri
0 siblings, 0 replies; 3+ messages in thread
From: Jean Marc Olivieri @ 2011-07-21 15:58 UTC (permalink / raw)
To: Stratos Psomadakis; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2336 bytes --]
Hi,
You were obviously right : zlib1g-dev wasn't installed.
But my point is this library is not used : so why to keep it ?
Best regards
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
-----Message d'origine-----
De : Stratos Psomadakis [mailto:psomas@ece.ntua.gr]
Envoyé : jeudi 21 juillet 2011 16:57
ÃÂ : Jean Marc Olivieri
Cc : linux-kernel@vger.kernel.org
Objet : 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>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-21 15:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 14:15 2.6.33.16 Documentation/lguest breaks compile under debian x86 Jean Marc Olivieri
2011-07-21 14:56 ` Stratos Psomadakis
2011-07-21 15:58 ` Jean Marc Olivieri
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®