blob: 7cd02ed9d320d39b2f2bf10514941ca3079ef809 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
files: 0.120
PID: 0.107
semantic: 0.105
other: 0.104
device: 0.099
debug: 0.089
permissions: 0.076
graphic: 0.071
performance: 0.051
network: 0.046
socket: 0.042
boot: 0.038
vnc: 0.032
KVM: 0.020
files: 0.205
PID: 0.142
debug: 0.135
vnc: 0.125
device: 0.061
socket: 0.056
boot: 0.054
network: 0.052
KVM: 0.038
semantic: 0.038
other: 0.037
performance: 0.027
permissions: 0.016
graphic: 0.013
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
This does not happend anymore with the upstream git. Closing. Please reopen if you still see this.
|