[操作系统=Linux Mint 19.2]
我正在尝试构建此版本的 QEMU,以便我可以尝试 3D 加速。但每次我尝试构建时,它总是失败。这是我的配置参数:
./configure --prefix=/opt/qemu3 \
--target-list=x86_64-softmmu \
--audio-drv-list=pa,alsa,oss \
--enable-gtk \
--disable-vte \
--enable-opengl \
--enable-sdl \
--with-sdlabi=2.0 \
--enable-virglrenderer
这有效。现在,当我运行 时make
,它在 rdma 构建上失败:
CC x86_64-softmmu/hw/rdma/rdma_utils.o
CC x86_64-softmmu/hw/rdma/rdma_backend.o
CC x86_64-softmmu/hw/rdma/rdma_rm.o
CC x86_64-softmmu/hw/rdma/vmw/pvrdma_dev_ring.o
CC x86_64-softmmu/hw/rdma/vmw/pvrdma_cmd.o
/home/me/Development/source/qemu-3.1.1/hw/rdma/vmw/pvrdma_cmd.c: In function ‘create_qp’:
/home/me/Development/source/qemu-3.1.1/hw/rdma/vmw/pvrdma_cmd.c:517:16: error: ‘rc’ undeclared (first use in this function)
return rc;
^~
/home/me/Development/source/qemu-3.1.1/hw/rdma/vmw/pvrdma_cmd.c:517:16: note: each undeclared identifier is reported only once for each function it appears in
/home/me/Development/source/qemu-3.1.1/rules.mak:69: recipe for target 'hw/rdma/vmw/pvrdma_cmd.o' failed
make[1]: *** [hw/rdma/vmw/pvrdma_cmd.o] Error 1
Makefile:483: recipe for target 'subdir-x86_64-softmmu' failed
make: *** [subdir-x86_64-softmmu] Error 2
我已经librdmacm-dev
安装了该库。我究竟做错了什么?