|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] xenperf build
Quoting jonr@xxxxxxxxxx:
Never mind, stupid error on my part, a space where there should not
have been one in the 'Makefile'.
Sorry for the noise,
Jon
I always forget this:
Xen-3.2.1 built from source.
Quoting jonr@xxxxxxxxxx:
I am trying to build the counters for XenPerf but I am getting an error
when I try to do the 'make world'. I have edited the
SRCDIR/xen/Rules.mk file and added a 'y' to 'perfc' and 'perfc_arrays'
instead of the default 'n'. I then go back to the SRCDIR and run 'make
clean' and then 'make world'.
I get this error after the 'make world' is issued:
make[5]: Entering directory `/var/xen/xen-3.2.1/xen/tools'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -m32 -Wdeclaration-after-statement -o symbols
symbols.c
make[5]: Leaving directory `/var/xen/xen-3.2.1/xen/tools'
make[4]: Leaving directory `/var/xen/xen-3.2.1/xen/tools'
make -f /var/xen/xen-3.2.1/xen/Rules.mk include/xen/compile.h
make[4]: Entering directory `/var/xen/xen-3.2.1/xen'
make -C tools
make[5]: Entering directory `/var/xen/xen-3.2.1/xen/tools'
[ -d figlet ] && make -C figlet
make[6]: Entering directory `/var/xen/xen-3.2.1/xen/tools/figlet'
make[6]: `figlet' is up to date.
make[6]: Leaving directory `/var/xen/xen-3.2.1/xen/tools/figlet'
make symbols
make[6]: Entering directory `/var/xen/xen-3.2.1/xen/tools'
make[6]: `symbols' is up to date.
make[6]: Leaving directory `/var/xen/xen-3.2.1/xen/tools'
make[5]: Leaving directory `/var/xen/xen-3.2.1/xen/tools'
make[4]: *** [.banner] Error 1
make[4]: Leaving directory `/var/xen/xen-3.2.1/xen'
make[3]: *** [/var/xen/xen-3.2.1/xen/xen] Error 2
make[3]: Leaving directory `/var/xen/xen-3.2.1/xen'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/xen/xen-3.2.1/xen'
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/var/xen/xen-3.2.1'
make: *** [world] Error 2
I had found a patch for the 'Makefile' in the SRCDIR/xen/ directory for
the banner, I didn't apply the patch but did add the missing line:
From This:
-e 's!@@changeset@@!$(shell ((hg parents --template "{date|date} {re
v}:{node|short}" >/dev/null && hg parents --template "{date|date}
{rev}:{node|sh
ort}") || echo "unavailable") 2>/dev/null)!g' \
< include/xen/compile.h.in > $@.new
@grep \" .banner >> $@.new
@grep -v \" .banner
@mv -f $@.new $@
To This:
-e 's!@@changeset@@!$(shell ((hg parents --template "{date|date} {re
v}:{node|short}" >/dev/null && hg parents --template "{date|date}
{rev}:{node|sh
ort}") || echo "unavailable") 2>/dev/null)!g' \
< include/xen/compile.h.in > $@.new
@grep \" .banner >> $@.new
@echo "" >> $@.new
@grep -v \" .banner
@mv -f $@.new $@
Notice the third line from the end was missing in the original, that is
all the patch had, here is the link to the patch:
http://markmail.org/message/uizcoklj47dnnzt7
Can anyone shed some light on this one for me?
Thanks for any help,
Jon
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|