All of lore.kernel.org
 help / color / mirror / Atom feed
* Compilation error crossbuilding tools.
@ 2013-04-06 14:29 Sander Bogaert
  2013-04-08 10:20 ` Julien Grall
  2013-04-08 10:28 ` Stefano Stabellini
  0 siblings, 2 replies; 20+ messages in thread
From: Sander Bogaert @ 2013-04-06 14:29 UTC (permalink / raw)
  To: xen-devel@lists.xen.org

Hi,

I'm running the latest xen unstable branch on an Arndale board ( and
FastModels A15 simulator ). I'm now trying to build the xen tools (
32bit ) following this guide:
http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling

The only deviation I made is adding my user to
/etc/schroot/chroot.d/raring-armhf-cross :
...
groups=root,sbuild,username
root-groups=root,sbuild,username
...

I did this because I was getting ( on chrooting in as a regular user,
schroot -c raring-armhf-cross on my debian wheezy system):
E: Access not authorised
I: You do not have permission to access the schroot service.
I: This failure will be reported.

( and yes I added myself to the sbuild group :-) ) After doing this I
can chroot in and end up in my home dir on my local system, which is a
bit strange but not an issue I think.

On compilation ( followed the wiki ) I get:
....
arm-linux-gnueabihf-gcc  -O1 -fno-omit-frame-pointer -marm -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .block-qcow2.o.d
 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
 -Werror -Wno-unused -I../lib
-I/home/user/source/xen/xen-main/tools/blktap/drivers/../../../tools/libxc
-I/home/user/source/xen/xen-main/tools/blktap/drivers/../../../tools/include
-I/home/user/source/xen/xen-main/tools/blktap/drivers/../../../tools/xenstore
-I/home/user/source/xen/xen-main/tools/blktap/drivers/../../../tools/include
-D_GNU_SOURCE -DMEMSHR -I ../../memshr -pthread  -c -o block-qcow2.o
block-qcow2.c
block-qcow2.c: In function 'bdrv_pread':
block-qcow2.c:238:4: error: format '%llx' expects argument of type
'long long unsigned int', but argument 5 has type '__off_t'
[-Werror=format]
cc1: all warnings being treated as errors
make[5]: *** [block-qcow2.o] Error 1
make[5]: Leaving directory `/home/user/source/xen/xen-main/tools/blktap/drivers'
make[4]: *** [subdir-install-drivers] Error 2
make[4]: Leaving directory `/home/user/source/xen/xen-main/tools/blktap'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/home/user/source/xen/xen-main/tools/blktap'
make[2]: *** [subdir-install-blktap] Error 2
make[2]: Leaving directory `/home/user/source/xen/xen-main/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/user/source/xen/xen-main/tools'
make: *** [install-tools] Error 2

So I have two questions:
1. Did anyone else run into this and/or knows how to solve it?
2. Should the wiki be updated on chrooting as a regular user?

Thanks

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-04-12 11:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-06 14:29 Compilation error crossbuilding tools Sander Bogaert
2013-04-08 10:20 ` Julien Grall
2013-04-08 10:28 ` Stefano Stabellini
2013-04-08 15:28   ` Ian Jackson
2013-04-08 16:21     ` Stefano Stabellini
2013-04-08 16:34       ` Ian Jackson
2013-04-08 17:08         ` Stefano Stabellini
2013-04-09  9:12           ` Sander Bogaert
2013-04-09 11:23             ` Stefano Stabellini
2013-04-10 12:34   ` Ian Campbell
2013-04-10 14:11     ` Sander Bogaert
2013-04-10 14:49       ` Ian Campbell
2013-04-10 21:59         ` Sander Bogaert
2013-04-11  7:55           ` Ian Campbell
2013-04-11  9:23             ` Sander Bogaert
2013-04-11  9:25               ` Ian Campbell
2013-04-11 10:06                 ` Sander Bogaert
2013-04-11 10:22                   ` Ian Campbell
2013-04-11 17:21                     ` Sander Bogaert
2013-04-12 11:13                       ` Ian Campbell

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.