添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
内向的火柴  ·  hanwckf博客 - 百度·  5 天前    · 
骑白马的菠菜  ·  mt798x uboot 功能介绍·  1 月前    · 
体贴的板凳  ·  编译uboot出现 ...·  6 月前    · 
强健的围巾  ·  Building linuxcnc on ...·  1 年前    · 
卖萌的充电器  ·  Generate an Excel ...·  1 周前    · 
文武双全的单车  ·  uts for Android | uni-app·  4 周前    · 
爱热闹的熊猫  ·  Index of Portage & ...·  2 月前    · 
爱玩的蘑菇  ·  Getting "TypeError: ...·  2 月前    · 

编译uboot出现 ModuleNotFoundError: No module named 'distutils.core'

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  CHK     include/generated/defaultenv_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  UPD     include/generated/defaultenv_autogenerated.h
  UPD     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  UPD     include/generated/version_autogenerated.h
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/srcpos.o
  SHIPPED scripts/dtc/pylibfdt/libfdt.i
  PYMOD   scripts/dtc/pylibfdt/_libfdt.so
  CC      lib/asm-offsets.s
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  YACC    scripts/dtc/dtc-parser.tab.h
  LEX     scripts/dtc/dtc-lexer.lex.c
  CC      arch/arm/lib/asm-offsets.s
  YACC    scripts/dtc/dtc-parser.tab.c
  CHK     include/generated/generic-asm-offsets.h
  UPD     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  UPD     include/generated/asm-offsets.h
Traceback (most recent call last):
  File "scripts/dtc/pylibfdt/setup.py", line 21, in <module>
    from distutils.core import setup, Extension
ModuleNotFoundError: No module named 'distutils.core'
scripts/dtc/pylibfdt/Makefile:27: recipe for target 'scripts/dtc/pylibfdt/_libfdt.so' failed
make[5]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
scripts/Makefile.build:432: recipe for target 'scripts/dtc/pylibfdt' failed
make[4]: *** [scripts/dtc/pylibfdt] Error 2
make[4]: *** Waiting for unfinished jobs....
  LDS     u-boot.lds
scripts/Makefile.build:432: recipe for target 'scripts/dtc' failed
make[3]: *** [scripts/dtc] Error 2
Makefile:551: recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
package/pkg-generic.mk:247: recipe for target '/opt/x3/buildroot_vgabox2/output/build/uboot-2020.01/.stamp_built' failed
make[1]: *** [/opt/x3/buildroot_vgabox2/output/build/uboot-2020.01/.stamp_built] Error 2
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2