[Spice-devel] Error compiling Spice Client on ARM
Nicolas Antonio Corrarello
ncorrare at gmail.com
Fri Jan 13 10:54:02 PST 2012
Guys,
Being well aware that spice server only works on x64-64, I'm trying to
compile the spice client in ARM, but I'm bumping into the following:
make all-am
make[1]: Entering directory `/root/spice-0.10.0/client'
CXX foreign_menu.o
foreign_menu.cpp: In constructor
'ForeignMenu::ForeignMenu(ForeignMenuInterface*)':
foreign_menu.cpp:47:81: error: format '%lu' expects argument of type 'long
unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned
int}' [-Werror=format]
foreign_menu.cpp:47:81: error: format '%lu' expects argument of type 'long
unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned
int}' [-Werror=format]
cc1plus: all warnings being treated as errors
make[1]: *** [foreign_menu.o] Error 1
make[1]: Leaving directory `/root/spice-0.10.0/client'
make: *** [all] Error 2
I had to add my arm machine type manually in ./configure in order for it to
pass the processor check.
The system is emulated with qemu, and here is some info about the linux
distro running on it:
Script started on Fri Jan 13 18:50:48 2012
root at test-arm:~/spice-0.10.0/client# gcc -version
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.2-11'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-sjlj-exceptions --with-arch=armv4t
--with-float=soft --enable-checking=release --build=arm-linux-gnueabi
--host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.6.2 (Debian 4.6.2-11)
root at test-arm:~/spice-0.10.0/client# uname -a
Linux test-arm 3.0.4 #2 Mon Oct 17 17:39:42 ICT 2011 armv6l GNU/Linux
root at test-arm:~/spice-0.10.0/client# exit
exit
Script done on Fri Jan 13 18:51:08 2012
I'd appreciate any help on the matter,
Yours truly
nac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120113/059c38ab/attachment.htm>
More information about the Spice-devel
mailing list