页次: 1
晕哥,我make menuconfig后报错
kilimater@kilimater-PC:/opt/esp-adf/examples/get-started/play_mp3$ make menuconfig
make[1]: Entering directory '/opt/esp-adf/esp-idf/tools/kconfig'
cc -DCURSES_LOC="<curses.h>" -DLOCALE -MD -c -o mconf.o mconf.c
<command-line>:0:12: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
<builtin>: recipe for target 'mconf.o' failed
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory '/opt/esp-adf/esp-idf/tools/kconfig'
make[1]: Entering directory '/opt/esp-adf/esp-idf/tools/kconfig'
cc -DCURSES_LOC="<curses.h>" -DLOCALE -MD -c -o mconf.o mconf.c
<command-line>:0:12: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
<builtin>: recipe for target 'mconf.o' failed
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory '/opt/esp-adf/esp-idf/tools/kconfig'
/opt/esp-adf/esp-idf/make/project_config.mk:20: recipe for target '/opt/esp-adf/esp-idf/tools/kconfig/mconf' failed
make: *** [/opt/esp-adf/esp-idf/tools/kconfig/mconf] Error 2
遇到过吗,怎么着手呀,求教
https://whycan.cn/t_717.html
那你按照这个安装gcc 7.2.1,然后看能否编译通过,希望看到好消息。
谢谢大佬
看了你给的帖子,发现是swig没装
现在可以了
再次感谢
荔枝派买了好久移植吃灰,自己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太老了吗,不知道怎么做了
大佬帮忙看看
页次: 1