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

Re: [Xen-users] xenperf build

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xenperf build
From: jonr@xxxxxxxxxx
Date: Wed, 23 Jul 2008 12:04:27 -0800
Delivery-date: Wed, 23 Jul 2008 13:17:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080723103306.dq2ptz2ul4c8w4ss@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080723102901.v26kxibj4k8sg0kw@xxxxxxxxxxxxxx> <20080723103306.dq2ptz2ul4c8w4ss@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
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

<Prev in Thread] Current Thread [Next in Thread>