关于Linux cmake编译qemu出现的问题!

我使用的Linux平台是Ubuntu21.04,gcc编译器是10.3.0,cmake版本是3.18.4.在使用cmake编译qemu出现了下面的报错:

ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: multiboot.img] Error 1
make: *** [Makefile:581: pc-bios/optionrom/all] Error 2
make: *** Waiting for unfinished jobs

使用了下面这些命令:

安装编译所需的依赖包

sudo apt install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev
gawk build-essential bison flex texinfo gperf libtool patchutils bc
zlib1g-dev libexpat-dev pkg-config libglib2.0-dev libpixman-1-dev git tmux python3

下载源码包

wget https://download.qemu.org/qemu-5.0.0.tar.xz

解压

tar xJf qemu-5.0.0.tar.xz

编译安装并配置 RISC-V 支持

cd qemu-5.0.0
./configure --target-list=riscv64-softmmu,riscv64-linux-user
make -j$(nproc)

请问这是什么问题啊

没有编译成功,报错发过来看看