荔枝派买了好久移植吃灰,自己linux小白。
按照教程荔枝派开发环境搭建
操作到了time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log这个命令
报错
*** Your GCC is older than 6.0 and will not be supported starting in v2018.01.
CHK include/config/uboot.release
CHK include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
PYMOD scripts/dtc/pylibfdt/_libfdt.so
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
scripts/dtc/pylibfdt/Makefile:26: recipe for target 'scripts/dtc/pylibfdt/_libfdt.so' failed
make[3]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
scripts/Makefile.build:425: recipe for target 'scripts/dtc/pylibfdt' failed
make[2]: *** [scripts/dtc/pylibfdt] Error 2
scripts/Makefile.build:425: recipe for target 'scripts/dtc' failed
make[1]: *** [scripts/dtc] Error 2
Makefile:491: recipe for target 'scripts' failed
make: *** [scripts] Error 2
real 0m21.847s
user 0m0.676s
sys 0m0.875s
是gcc太老了吗,不知道怎么做了
大佬帮忙看看
离线
离线
https://whycan.cn/t_717.html
那你按照这个安装gcc 7.2.1,然后看能否编译通过,希望看到好消息。
谢谢大佬
看了你给的帖子,发现是swig没装
现在可以了
再次感谢
离线
swig是什么,你是用Ubuntu吗?
我使用的ubuntu啊,我也不知道是啥
就是这个错误
unable to execute 'swig': No such file or directory
离线