From: Jon Mason <jdmason@us.ibm.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] mbootpack Makefile error
Date: Mon, 13 Jun 2005 18:25:09 -0500 [thread overview]
Message-ID: <20050613232509.GA6152@us.ibm.com> (raw)
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
reply other threads:[~2005-06-13 23:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050613232509.GA6152@us.ibm.com \
--to=jdmason@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/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 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.