MT7688 Ubuntu uboot编译报错问题

make menuconfig 错误

1.fatal error: zlib.h: No such file or directory
sudo apt-get install zlib1g-dev

2./usr/bin/ld: cannot find -lncurses

如果是32位的就用:sudo apt-get install libncurses5-dev
如果是64位的,就用:sudo apt-get install lib32ncurses5-dev

安装

1.输入 make

报错: In file included from fs.c:54: fsdata.c:226: error: parse error before ',' token make[1]: *** [fs.o] Error 1 make[1]: Leaving directory `/work/u-boot-mt7688-hiwooya-master/httpd' make: *** [httpd/libhttpd.a] Error 2

解决办法: sudo apt-get install default-jre(安装java命令)

2.

./tools/mkimage: invalid entry point -n

make: *** [uboot.img] 错误 1

 

运行命令 export LANG="en_US"

posted on 2022-04-01 19:15  让代码改变世界ha  阅读(174)  评论(0编辑  收藏  举报

导航