zoukankan      html  css  js  c++  java
  • 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行的大括号{},问题解决。 */

  • 相关阅读:
    !!!!Linux系统开发 系列 4 进程资源 环境 fork()子进程 wait() waitpid()僵尸 孤儿进程
    linux运维工程师
    C# CSGL
    C# 中的"yield"使用
    C#语法糖
    VS2017下Git的使用
    Oracle数据类型与.NET中的对应关系
    Java 8 Stream
    Java 8 默认方法
    Java 8 函数式接口
  • 原文地址:https://www.cnblogs.com/jackron/p/13974393.html
Copyright © 2011-2022 走看看