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

Re: [Xen-devel] building error



At 2014/7/18 23:55, Stefano Stabellini Wrote:
On Mon, 14 Jul 2014, Wen Congyang wrote:
I update qemu-xen-dir, and find this problem:

In file included from /usr/include/spice-server/spice.h:25:0,
                  from 
/work/src/xen/tools/qemu-xen-dir/include/ui/qemu-spice.h:25,
                  from qemu-char.c:84:
/usr/include/spice-1/spice/macros.h:105:0: error: "INLINE" redefined [-Werror]
  #define INLINE inline
  ^
In file included from /work/src/xen/tools/qemu-xen-dir/include/qemu/bswap.h:8:0,
                  from 
/work/src/xen/tools/qemu-xen-dir/include/qemu-common.h:112,
                  from qemu-char.c:24:
/work/src/xen/tools/qemu-xen-dir/include/fpu/softfloat.h:66:0: note: this is 
the location of the previous definition
  #define INLINE static inline
  ^
cc1: all warnings being treated as errors
   CC    page_cache.o

This problem has been fixed in upstream qemu:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a49db98d1f85ada0c4e5bb22bd93d541e7159c43


Thanks for the pointer. I cannot see this failure on my systems but the
backport should be harmless. I guess you would like a backport of both:

I build it on two systems: fc20 and rhel6. I only see this failure on fc20.


commit 37f6be977aefb5de8afe3ba62a95e88918381305
Author: Luiz Capitulino <lcapitulino@xxxxxxxxxx>
Date:   Thu Jun 19 10:19:32 2014 -0400

     audio: fmopl: drop INLINE macro

and:

commit a49db98d1f85ada0c4e5bb22bd93d541e7159c43
Author: Luiz Capitulino <lcapitulino@xxxxxxxxxx>
Date:   Thu Jun 19 10:13:43 2014 -0400

     fpu: softfloat: drop INLINE macro

correct?

Hmm, I only see the second failure. I guess it depends
on the builidng enviroment. But backporting both of them
is fine to me.

Thanks
Wen Congyang


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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