All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mbootpack Makefile error
@ 2005-06-13 23:25 Jon Mason
  0 siblings, 0 replies; only message in thread
From: Jon Mason @ 2005-06-13 23:25 UTC (permalink / raw)
  To: xen-devel

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@us.ibm.com>

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-13 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 23:25 [PATCH] mbootpack Makefile error Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.