当我配置内核时,出现以下错误:
petalinux-config -c kernel
ERROR: Unable to populate toolchain binary symlink for arm-linux-gnueabihf-ld: arm-linux-gnueabihf-ld.bfd
for example:
lu@lu-virtual-machine:/mnt/hgfs/zynq_switch/zbox$ petalinux-config -c kernel
[INFO] generating Kconfig for project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
/mnt/hgfs/zynq_switch/zbox/build/misc/plnx-generated /mnt/hgfs/zynq_switch/zbox
/mnt/hgfs/zynq_switch/zbox
[INFO] generating machine configuration
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2938 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:04
Parsing of 2325 .bb files complete (2291 cached, 34 parsed). 2940 targets, 196 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Unable to populate toolchain binary symlink for arm-linux-gnueabihf-ld: arm-linux-gnueabihf-ld.bfd
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: bitbake failed to cleansstate kernel
ERROR: Failed to config kernel.