0

当我尝试使用 manjaro linux 和 5.11.6-1 内核构建 xen 包时无法解决该错误。真的很感谢你的想法。谢谢。

  ...

  GEN     target/sparc/trace.c
  GEN     util/trace.c
  GEN     config-all-devices.mak
make[1]: Entering directory '/home/username/xen/src/xen-4.14.1/tools/qemu-xen/slirp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools/qemu-xen/slirp'
  BUILD   pc-bios/optionrom/multiboot.img
  BUILD   pc-bios/optionrom/linuxboot.img
  BUILD   pc-bios/optionrom/linuxboot_dma.img
  BUILD   pc-bios/optionrom/kvmvapic.img
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
ldmake[1]: *** [Makefile:53: multiboot.img] Error 1
: Error: unable to disambiguate: -no-pie (did you mean --no-piemake[1]: *** Waiting for unfinished jobs....
 ?)
make[1]: *** [Makefile:53: linuxboot.img] Error 1
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: kvmvapic.img] Error 1
make[1]: *** [Makefile:53: linuxboot_dma.img] Error 1
  BUILD   pc-bios/optionrom/pvh.img
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:50: pvh.img] Error 1
make: *** [Makefile:581: pc-bios/optionrom/all] Error 2
make: Leaving directory '/home/username/xen/src/xen-4.14.1/tools/qemu-xen-build'
make[3]: *** [Makefile:218: subdir-all-qemu-xen-dir] Error 2
make[3]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make[2]: *** [/home/username/xen/src/xen-4.14.1/tools/../tools/Rules.mk:235: subdirs-install] Error 2
make[2]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make[1]: *** [Makefile:72: install] Error 2
make[1]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make: *** [Makefile:134: install-tools] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
4

0 回答 0