blob: 8b450143a6be368484122dfea98f0df3073a9f96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
2.3.0 build fails on Ubuntu 12.04
Build of 2.3.0 fails on Ubuntu 12.04:
sudo make clean
sudo ./configure --prefix=/usr/local --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu
sudo make
GEN config-host.h
GEN qemu-options.def
GEN qmp-commands.h
GEN qapi-types.h
GEN qapi-visit.h
GEN qapi-event.h
GEN trace/generated-events.h
GEN trace/generated-tracers.h
...
CC migration/qemu-file-stdio.o
CC migration/xbzrle.o
CC migration/rdma.o
migration/rdma.c: In function ‘qemu_rdma_dump_id’:
migration/rdma.c:706:21: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration/rdma.c:707:22: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration/rdma.c:707:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function)
migration/rdma.c:707:37: note: each undeclared identifier is reported only once for each function it appears in
migration/rdma.c:708:24: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration/rdma.c:708:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function)
migration/rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’:
migration/rdma.c:800:26: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration/rdma.c:800:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function)
migration/rdma.c:802:33: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration/rdma.c:802:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function)
migration/rdma.c:841:18: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
make: *** [migration/rdma.o] Error 1
Build succeeds with
sudo ./configure --prefix=/usr/local --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-rdma
|