[Lguest] Fwd: BUG: Documentation/lguest/lguest.c bad paths for includes cause make to fail

Charles 'Mack' Rhinelander mrhinelander at gmail.com
Sun May 31 18:39:01 EST 2009


---------- Forwarded message ----------
From: Charles 'Mack' Rhinelander <mrhinelander at gmail.com>
Date: Sun, May 31, 2009 at 1:28 AM
Subject: BUG: Documentation/lguest/lguest.c bad paths for includes
cause make to fail
To: mm-commits at vger.kernel.org, kraai at ftbfs.org,
rusty at rustcorp.com.au, Andi Kleen <ak at suse.de>, Thomas Gleixner
<tglx at linutronix.de>, Ingo Molnar <mingo at elte.hu>


2.6.28-rc2-mm1 make fails at Documentation/lguest/lguest.c  Two
includes have bad paths: line 34 #include <zlib.h> (maybe should be
linux/zlib.h?), and line 47 #include "asm-x86/bootparam.h"

Are incorrect paths related to this recent gitignore of lguest.c (see
first cut below)?

asm-x86 has no bootparam.h; is this related to 2007 mm-commit list
concerning "allow asm-x86 to be included from userspace?" (see second
cut below)

---BEGIN CUT ABOUT gitignore OF lguest.c---

Gitweb:     http://git.kernel.org/linus/9536c26b31ae34ba6371a1b8f406028e9756f913
Commit:     9536c26b31ae34ba6371a1b8f406028e9756f913
Parent:     84a139a985300901dfad99bd93c7345d180af860
Author:     Matt Kraai <kraai at ftbfs.org>
AuthorDate: Thu Apr 16 23:46:20 2009 -0700
Committer:  Rusty Russell <rusty at rustcorp.com.au>
CommitDate: Sun Apr 19 23:14:02 2009 +0930

   lguest: tell git to ignore Documentation/lguest/lguest

   This is the example lguest launcher binary.

   Signed-off-by: Matt Kraai <kraai at ftbfs.org>
   Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
 Documentation/lguest/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/lguest/.gitignore b/Documentation/lguest/.gitignore
---END CUT---

---BEGIN CUT ABOUT allow x86 bootparam include from userspace---
List:       linux-mm-commits
Subject:    - make-asm-x86-bootparamh-includable-from-userspace.patch
removed from -mm tree
From:       akpm () linux-foundation ! org
Date:       2007-10-18 6:05:37

The patch titled
    Make asm-x86/bootparam.h includable from userspace
has been removed from the -mm tree.  Its filename was
    make-asm-x86-bootparamh-includable-from-userspace.patch

This patch was dropped because because of rejects

------------------------------------------------------
Subject: Make asm-x86/bootparam.h includable from userspace
From: Rusty Russell <rusty at rustcorp.com.au>

To actually write a bootloader (or, say, the lguest launcher) currently
requires duplication of these structures.  Making them includeable from
userspace is much nicer.

We merge the common userspace-required definitions of e820_32/64.h into e820.h
for export.

Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: Andi Kleen <ak at suse.de>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org
---END CUT---



More information about the Lguest mailing list