From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: xen-devel@lists.xensource.com
Subject: Re: xen-unstable: build fails
Date: Wed, 16 Mar 2011 15:45:50 +0100 [thread overview]
Message-ID: <4D80CD1E.2000508@ts.fujitsu.com> (raw)
In-Reply-To: <4D80C037.5010602@ts.fujitsu.com>
On 03/16/11 14:50, Juergen Gross wrote:
> Hi,
>
> I've just set up a machine with OpenSuse 11.4 and tried to build Xen.
>
> Under root I did:
>
> hg clone http://xenbits.xensource.com/xen-unstable.hg
> cd xen-unstable.hg
> make xen
>
> The make failed with:
>
> make[4]: Entering directory `/root/xen-unstable.hg/xen/arch/x86/boot'
> RELOC=0x7c000 make -f build32.mk reloc.S
> make[5]: Entering directory `/root/xen-unstable.hg/xen/arch/x86/boot'
> make[5]: *** ../../../../.config: Is a directory. Stop.
> make[5]: Leaving directory `/root/xen-unstable.hg/xen/arch/x86/boot'
> make[4]: *** [reloc.S] Error 2
> make[4]: Leaving directory `/root/xen-unstable.hg/xen/arch/x86/boot'
> make[3]: *** [/root/xen-unstable.hg/xen/arch/x86/boot/built_in.o] Error 2
> make[3]: Leaving directory `/root/xen-unstable.hg/xen/arch/x86'
> make[2]: *** [/root/xen-unstable.hg/xen/xen] Error 2
> make[2]: Leaving directory `/root/xen-unstable.hg/xen'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/root/xen-unstable.hg/xen'
> make: *** [install-xen] Error 2
>
> The reason seems to be a directory /root/.config which isn't present on my
> other machines.
And /.config as well.
>
> make tools
>
> fails in a similar way. Many Makefiles seem to contain lines like:
>
> XEN_ROOT=../..
>
> which is a really bad idea in my opinion. XEN_ROOT should only be set,
> if it
> is not yet defined.
>
> I'd suggest to use
>
> XEN_ROOT ?= $(PWD)/../..
should be $(CURDIR), of course.
>
> instead. A patch is easily made, but affects ca. 100 Makefiles. And this
> change could break the possibility to just do a "make" in a subdirectory.
The patch isn't really easy, as more seems to go wrong.
I've changed some Makefiles and get now with "make tools":
make[4]: Leaving directory `/root/xen-unstable.hg/tools/include/xen-foreign'
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/arch-ia64
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/arch-ia64/hvm
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/arch-x86
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/arch-x86/hvm
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/foreign
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/hvm
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/io
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/sys
/root/xen-unstable.hg/tools/cross-install -d -m0755 -p
/root/xen-unstable.hg/dist/install/usr/include/xen/xsm
/root/xen-unstable.hg/tools/cross-install -m0644 -p xen/COPYING
/root/xen-unstable.hg/dist/install/usr/include/xen
install: cannot stat `xen/COPYING': No such file or directory
make[3]: *** [install] Error 1
make[3]: Leaving directory `/root/xen-unstable.hg/tools/include'
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory `/root/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/root/xen-unstable.hg/tools'
make: *** [install-tools] Error 2
Juergen
--
Juergen Gross Principal Developer Operating Systems
TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28 Internet: ts.fujitsu.com
D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html
next prev parent reply other threads:[~2011-03-16 14:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 13:50 xen-unstable: build fails Juergen Gross
2011-03-16 14:45 ` Juergen Gross [this message]
2011-03-16 16:50 ` Keir Fraser
2011-03-17 5:52 ` Juergen Gross
2011-03-17 8:11 ` Keir Fraser
2011-03-17 8:59 ` Juergen Gross
2011-03-17 10:13 ` Jan Beulich
2011-03-17 10:29 ` Juergen Gross
2011-03-17 10:48 ` Jan Beulich
2011-03-17 10:55 ` Keir Fraser
2011-03-17 10:36 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2010-05-05 5:46 xen-unstable " Juergen Gross
2010-05-05 6:31 ` Shriram R
2010-05-05 9:00 ` Keir Fraser
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=4D80CD1E.2000508@ts.fujitsu.com \
--to=juergen.gross@ts.fujitsu.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.