• 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 ([^ 	=:+{}]+)}/ 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行的大括号{},问题解决。 */

  • 相关阅读:
    测试精进之路
    访问Apache服务器自动跳转到https协议
    如何安装Chrome OS系统
    遇到Project Target Framework Not Installed解决方法
    2019开发者调查结果和总结
    「工具神器」推荐一个扒网页的神器
    Linux 使用Unzip提示write error (disk full?). Continue? (y/n/^C)的解决方法
    安卓编译Failed to authenticate Jack server certificate错误问题解决办法
    如何手动给APK文件签名
    如何给个人网站添加免费的SSL
  • 原文地址:https://www.cnblogs.com/jackron/p/13974393.html
Copyright © 2020-2023  润新知