V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  分享发现

ZMap

  •  
  •   Livid · 2013-08-19 20:49:07 +08:00 via iPhone · 3252 次点击
    这是一个创建于 3907 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    1970-01-01 08:00:00 +08:00
    emptyhua
        1
    emptyhua  
       2013-08-19 21:25:07 +08:00
    iweblogv2ex
        2
    iweblogv2ex  
       2013-08-19 23:50:34 +08:00
    在mac编译安装出现这个错误

    gcc -Wall -pedantic -Wextra -std=gnu99 -I../lib -I./ -Ioutput_modules -O2 -g -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wredundant-decls -Wno-unused-but-set-variable -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-field-initializers -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds -Wstack-protector -Wformat -Wformat-security -Wpointer-sign -Wno-format-nonliteral -Wno-format-y2k -Werror -c -o constraint.o ../lib/constraint.c
    cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
    cc1: error: unrecognized command line option "-Warray-bounds"
    make: *** [constraint.o] Error 1


    求解决....
    xiaket
        3
    xiaket  
       2013-08-20 09:52:51 +08:00
    @iweblogv2ex 编译选项改过也没法编过, 依赖glibc里的一些header文件, Mac下应该是没办法绕过的.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   831 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:43 · PVG 05:43 · LAX 14:43 · JFK 17:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.