[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Compiled problem with xen-unstable



You can solve that by replacing the according format string part by "%llu". I guess that should be corrected in the source code?!!

For@ll wrote:
Hi,

I have problem with compiled xen-unstable when I write make world I have error:

cc1: warnings being treated as errors
block-ram.c: In function 'get_image_info':
block-ram.c:104: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'uint64_t'
block-ram.c: In function 'tdram_open':
block-ram.c:129: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'uint64_t'
make[6]: *** [block-ram.o] Błąd 1
make[6]: Opuszczenie katalogu `/opt/xen-unstable.hg/tools/blktap2/drivers'
make[5]: *** [subdir-install-drivers] Błąd 2
make[5]: Opuszczenie katalogu `/opt/xen-unstable.hg/tools/blktap2'
make[4]: *** [subdirs-install] Błąd 2
make[4]: Opuszczenie katalogu `/opt/xen-unstable.hg/tools/blktap2'
make[3]: *** [subdir-install-blktap2] Błąd 2
make[3]: Opuszczenie katalogu `/opt/xen-unstable.hg/tools'
make[2]: *** [subdirs-install] Błąd 2
make[2]: Opuszczenie katalogu `/opt/xen-unstable.hg/tools'
make[1]: *** [install-tools] Błąd 2
make[1]: Opuszczenie katalogu `/opt/xen-unstable.hg'
make: *** [world] Błąd 2

OS which I have installed is it debian lenny 5.01, installed gcc version
dpkg -l |grep gcc
ii gcc 4:4.3.2-2 The GNU C compiler ii gcc-3.4 3.4.6-9 The GNU C compiler ii gcc-3.4-base 3.4.6-9 The GNU Compiler Collection (base package) ii gcc-4.1 4.1.2-25 The GNU C compiler ii gcc-4.1-base 4.1.2-25 The GNU Compiler Collection (base package) ii gcc-4.2-base 4.2.4-6 The GNU Compiler Collection (base package) ii gcc-4.3 4.3.2-1.1 The GNU C compiler ii gcc-4.3-base 4.3.2-1.1 The GNU Compiler Collection (base package)


For@ll




_______________________________________________
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.