zoukankan      html  css  js  c++  java
  • make 错误

    for i in src modules lualib; do make -C $i; done
    make[1]: Entering directory '/usr/src/tsar/src'
    Building LuaJIT...
    make[2]: Entering directory '/usr/src/tsar/src/obj/LuaJIT-2.0.4'
    ==== Building LuaJIT 2.0.4 ====
    make -C src
    make[3]: Entering directory '/usr/src/tsar/src/obj/LuaJIT-2.0.4/src'
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0,
    from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
    from luaconf.h:12,
    from lua.h:16,
    from lj_arch.h:9:
    /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    Makefile:233: *** Unsupported target architecture. Stop.
    make[3]: Leaving directory '/usr/src/tsar/src/obj/LuaJIT-2.0.4/src'
    Makefile:103: recipe for target 'src/luajit' failed
    make[2]: *** [src/luajit] Error 2
    make[2]: Leaving directory '/usr/src/tsar/src/obj/LuaJIT-2.0.4'
    Makefile:27: recipe for target 'obj/lib/libluajit-5.1.a' failed
    make[1]: *** [obj/lib/libluajit-5.1.a] Error 2
    make[1]: Leaving directory '/usr/src/tsar/src'
    make[1]: Entering directory '/usr/src/tsar/modules'
    gcc -I../include -I../src/obj/include -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_apache.c -o mod_apache.so

    解决方法: apt-get install gcc-multilib

  • 相关阅读:
    如何使用命令行备份SAP HANA数据库
    Rootkit介绍
    web渗透测试基本步骤
    IIS服务器的安全保护措施
    渗透测试的流程
    Kali Linux之常见后门工具介绍
    中间人攻击(MITM)之数据截获原理
    口令破解工具
    常见渗透测试工具集成系统简介
    Kali Linux之使用SET快捷生成钓鱼网站方法
  • 原文地址:https://www.cnblogs.com/-xuan/p/12018868.html
Copyright © 2011-2022 走看看