WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] mbootpack Makefile error

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] mbootpack Makefile error
From: Jon Mason <jdmason@xxxxxxxxxx>
Date: Mon, 13 Jun 2005 18:25:09 -0500
Delivery-date: Mon, 13 Jun 2005 23:24:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.8i
On my x86-64 Gentoo system, the xen-unstable compile breaks in
tools/misc/mbootpack.  It complains about not being able to find errno.h
and page.h.  After some digging (and help from Anthony, Jerone, and
Scott), I found out that Gentoo's /usr/include/asm/errno.h errouniously
has 
#include "../asm-x86_64/errno.h" 
instead of 
#include <asm-generic/errno.h>

I am reporting the bug to Gentoo, but until this bug is fixed the patch
below is needed.  It removes the "-I-", which prevented gcc from using
user include files.

Scott and Jerone verified that the header files in Ubuntu and Fedora do
not have this file, though this may be a problem in SuSE (unable to
confirm).  Gentoo on x86 does not have the same
/usr/include/asm/errno.h, so this is not an issue. 

Signed-off-by: Jon Mason <jdmason@xxxxxxxxxx>

--- tools/misc/mbootpack/Makefile.orig  2005-06-13 16:53:56.000000000 -0500
+++ tools/misc/mbootpack/Makefile       2005-06-13 16:54:08.000000000 -0500
@@ -17,7 +17,7 @@ install: build
 #  Tools etc.
 RM     := rm -f
 GDB    := gdb
-INCS   := -I. -I-
+INCS   := -I. 
 DEFS   := 
 LDFLAGS        := 
 CC     := gcc

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] mbootpack Makefile error, Jon Mason <=