我使用的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
cd qemu-5.0.0
./configure --target-list=riscv64-softmmu,riscv64-linux-user
make -j$(nproc)
请问这是什么问题啊
没有编译成功,报错发过来看看