openwrt编译报错集锦

需网络稳定,可正常上梯子。

/*ubuntu18编译报错:*/

autoreconf: running: /home/jack/openwrt-sdk/staging_dir/host/bin/automake --add-missing
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/jack/openwrt-sdk/staging_dir/host/bin/automake line 4160.
autoreconf: /home/jack/openwrt-sdk/staging_dir/host/bin/automake failed with exit status: 255
(cd /home/jack/openwrt-sdk/build_dir/host/mklibs-0.1.35/; if [ -x configure ]; then cp -fpR /home/jack/openwrt-sdk/scripts/config.{guess,sub} /home/jack/openwrt-sdk/build_dir/host/mklibs-0.1.35// &&  /bin/bash ./configure CC="gcc" CFLAGS="-O2 -I/home/jack/openwrt-sdk/staging_dir/host/include -I/home/jack/openwrt-sdk/tools/mklibs/include" CPPFLAGS="-I/home/jack/openwrt-sdk/staging_dir/host/include" LDFLAGS="-L/home/jack/openwrt-sdk/staging_dir/host/lib " SHELL="/bin/bash" --target=x86_64-linux-gnu --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/jack/openwrt-sdk/staging_dir/host --exec-prefix=/home/jack/openwrt-sdk/staging_dir/host --sysconfdir=/home/jack/openwrt-sdk/staging_dir/host/etc --localstatedir=/home/jack/openwrt-sdk/staging_dir/host/var --sbindir=/home/jack/openwrt-sdk/staging_dir/host/bin ; fi )
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Makefile:35: recipe for target '/home/jack/openwrt-sdk/build_dir/host/mklibs-0.1.35/.configured' failed
make[3]: *** [/home/jack/openwrt-sdk/build_dir/host/mklibs-0.1.35/.configured] Error 1
make[3]: Leaving directory '/home/jack/openwrt-sdk/tools/mklibs'

/* 是staging_dir/host/bin/automake文件串的4160行报错,因为新版的perl不在支持左大括号的使用,打开这个文件删掉4160行的大括号{},问题解决。 */

 

posted @ 2020-11-14 19:21  凡尘夫子  阅读(702)  评论(0编辑  收藏  举报