Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error on macOS v 10.12.6 #285

Open
pooyadav opened this issue Nov 21, 2019 · 0 comments
Open

compilation error on macOS v 10.12.6 #285

pooyadav opened this issue Nov 21, 2019 · 0 comments

Comments

@pooyadav
Copy link

make clean;make

Makefile variables:
buildroot=joy
sysname=DARWIN
version=4.5.0
cwd=src
Building libjoy.a ...
gcc -Werror -Wall -Wbad-function-cast -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Winline -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnested-externs -Wnonnull -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch -Wswitch-default -Wswitch-enum -Wsystem-headers -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wno-pointer-sign -Wextra -Wno-nullability-completeness -Wno-cast-align -Wno-expansion-to-defined -fPIC -fPIE -D_FORTIFY_SOURCE=2 -O -g -mmacosx-version-min=10.5 -fPIC -fPIE -DDARWIN=1 -DVERSION="4.5.0" -pthread -DUSE_GZIP -DJOY_LIB_API -DCOMPRESSED_OUTPUT=1 -I ./include -I "/usr/local/Cellar/openssl/1.0.2l/include" -I "/usr/include" -I/opt/local/include/ -c joy_api.c p2f.c osdetect.c anon.c pkt_proc.c nfv9.c tls.c classify.c radix_trie.c hdr_dsc.c procwatch.c addr_attr.c addr.c wht.c http.c str_match.c acsm.c dns.c example.c ipfix.c ssh.c ike.c salt.c parson.c fingerprint.c ppi.c utils.c dhcp.c payload.c config.c proto_identify.c fp_tls.c extractor.c
error: unknown warning option '-Wno-expansion-to-defined'; did you mean '-Wno-macro-redefined'?
[-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wno-expansion-to-defined'; did you mean '-Wno-macro-redefined'?
[-Werror,-Wunknown-warning-option]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant