Skip to contentSkip to conversation

building error

DISCUSSION Wen Congyang 3 participants 3 messages Jul 14, 2014 – Jul 18, 2014

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Wen Congyang

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:
Quoted 9 lines

/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:

commit 37f6be977aefb5de8afe3ba62a95e88918381305

Author: Luiz Capitulino <[email protected]>
Date:   Thu Jun 19 10:19:32 2014 -0400

audio: fmopl: drop INLINE macro

and:

commit a49db98d1f85ada0c4e5bb22bd93d541e7159c43

Author: Luiz Capitulino <[email protected]>
Date:   Thu Jun 19 10:13:43 2014 -0400

fpu: softfloat: drop INLINE macro

correct?

#2 lore raw

At 2014/7/18 23:55, Stefano Stabellini Wrote:

Quoted 18 lines · Wen Congyang
Quoted 17 lines

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

Quoted 6 lines
Quoted 3 lines

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.

Quoted 9 lines

commit 37f6be977aefb5de8afe3ba62a95e88918381305

Author: Luiz Capitulino <[email protected]>
Date:   Thu Jun 19 10:19:32 2014 -0400

audio: fmopl: drop INLINE macro

and:

Quoted 7 lines

commit a49db98d1f85ada0c4e5bb22bd93d541e7159c43

Author: Luiz Capitulino <[email protected]>
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

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel