V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
267.12D
573.16D

ZMap

  •  
  •   Livid ·
    PRO
    · Aug 19, 2013 via iPhone · 3957 views
    This topic created in 4635 days ago, the information mentioned may be changed or developed.
    3 replies    1970-01-01 08:00:00 +08:00
    iweblogv2ex
        2
    iweblogv2ex  
       Aug 19, 2013
    在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  
       Aug 20, 2013
    @iweblogv2ex 编译选项改过也没法编过, 依赖glibc里的一些header文件, Mac下应该是没办法绕过的.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3332 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 13:08 · PVG 21:08 · LAX 06:08 · JFK 09:08
    ♥ Do have faith in what you're doing.