make ARCH=arm menuconfig结束后编译出错(报错如下)求大神指点
ren@ren:~/f1c100s/u-boot$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
scripts/kconfig/conf --silentoldconfig Kconfig
CHK 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
UPD include/generated/timestamp_autogenerated.h
PYMOD scripts/dtc/pylibfdt/_libfdt.so
/bin/sh: 1: python: not found
CHK include/generated/version_autogenerated.h
make[3]: *** [scripts/dtc/pylibfdt/Makefile:26:scripts/dtc/pylibfdt/_libfdt.so] 错误 127
make[2]: *** [scripts/Makefile.build:425:scripts/dtc/pylibfdt] 错误 2
make[1]: *** [scripts/Makefile.build:425:scripts/dtc] 错误 2
make: *** [Makefile:491:scripts] 错误 2
make: *** 正在等待未完成的任务....
CHK include/config.h
CFG u-boot.cfg
离线
看提示, 缺啥装啥
sudo apt-get install python
安装完以后又出了下面的错误(我用的u-boot-nano-v2018.01)
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
make[3]: *** [scripts/dtc/pylibfdt/Makefile:26:scripts/dtc/pylibfdt/_libfdt.so] 错误 1
make[2]: *** [scripts/Makefile.build:425:scripts/dtc/pylibfdt] 错误 2
make[2]: *** 正在等待未完成的任务....
make[1]: *** [scripts/Makefile.build:425:scripts/dtc] 错误 2
make: *** [Makefile:491:scripts] 错误 2
make: *** 正在等待未完成的任务....
CHK include/config.h
CFG u-boot.cfg
离线