shadowsocks / shadowsocks-libev

Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
https://github.com/shadowsocks/shadowsocks-rust
GNU General Public License v3.0
15.82k stars 5.69k forks source link

OSX 10.11 Beta build failed #357

Closed leecade closed 9 years ago

leecade commented 9 years ago

shadowsocks-libev 2.2.3

1 error generated.
make[2]: *** [ev.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
madeye commented 9 years ago

Post the full output here.

leecade commented 9 years ago

@madeye https://gist.github.com/anonymous/f2e1e7bfbd2636a2883b

madeye commented 9 years ago

You need to post the full output of your build.

leecade commented 9 years ago

@madeye

similar problem

https://gist.github.com/digitalextremist/66449887e843df70a654

http://stackoverflow.com/questions/13691361/use-of-noreturn-in-c11

http://stackoverflow.com/questions/28552467/is-there-a-way-to-use-gcc-attribute-noreturn-and-stdnoreturn-h-sanely-i

build output

==> Downloading https://github.com/shadowsocks/shadowsocks-libev/archive/v2.2.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/shadowsocks-libev-2.2.3.tar.gz
==> Verifying shadowsocks-libev-2.2.3.tar.gz checksum
tar xf /Library/Caches/Homebrew/shadowsocks-libev-2.2.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/shadowsocks-libev/2.2.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... auto/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin15.0.0
checking host system type... x86_64-apple-darwin15.0.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.0.0 file names to x86_64-apple-darwin15.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.0.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking whether clang and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking for inotify_init... no
checking for epoll_ctl... no
checking for kqueue... yes
checking for port_create... no
checking for poll... yes
checking for select... yes
checking for eventfd... no
checking for signalfd... no
checking for clock_gettime... no
checking for clock_gettime in -lrt... no
checking for clock_gettime... no
checking for nanosleep... yes
checking for library containing floor... none required
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for EVP_EncryptInit_ex in -lcrypto... yes
checking for RAND_pseudo_bytes... yes
checking for EVP_EncryptInit_ex... yes
checking whether OpenSSL_add_all_algorithms is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for netdb.h... yes
checking for library containing inet_ntop... none required
checking whether inet_ntop is declared... yes
checking for what kind of host... transparent proxy does not support for x86_64-apple-darwin15.0.0
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for ssize_t... yes
checking whether to enable assertions... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... (cached) yes
checking for uint16_t... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for memset... yes
checking for select... (cached) yes
checking for setresuid... no
checking for setreuid... yes
checking for strerror... yes
checking for getpwnam_r... yes
checking for setrlimit... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for connect in -lsocket... no
checking for malloc... yes
checking for memset... (cached) yes
checking for socket... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... clang
configure: creating ./config.status
config.status: creating shadowsocks-libev.pc
config.status: creating Makefile
config.status: creating libcork/Makefile
config.status: creating libipset/Makefile
config.status: creating libudns/Makefile
config.status: creating libev/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libsodium (/private/tmp/shadowsocks-libev20150728-71019-8nva24/shadowsocks-libev-2.2.3/libsodium)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/Cellar/shadowsocks-libev/2.2.3'  'CC=clang' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-apple-darwin15.0.0
checking host system type... x86_64-apple-darwin15.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for clang option to accept ISO C99... none needed
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -Wsometimes-uninitialized... yes
checking whether C compiler accepts  -Wall... yes
checking whether C compiler accepts  -Wall -Wextra... yes
checking for clang... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... yes
checking whether the linker accepts -Wl,-z,relro... no
checking whether the linker accepts -Wl,-z,now... no
checking whether the linker accepts -Wl,-z,noexecstack... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.0.0 file names to x86_64-apple-darwin15.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.0.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ar... (cached) ar
checking for MMX instructions set... yes
checking for SSE2 instructions set... yes
checking for SSE3 instructions set... yes
checking for SSSE3 instructions set... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether __STDC_LIMIT_MACROS is required... no
checking whether we should use x86_64 asm code... yes
checking for 128-bit arithmetic... yes
checking for cpuid instruction... yes
checking if weak symbols are supported... yes
configure: data alignment is not required on this target
checking for arc4random... yes
checking for arc4random_buf... yes
checking for mlock... yes
checking for mprotect... yes
checking for explicit_bzero... no
checking for posix_memalign... yes
checking if gcc/ld supports -Wl,--output-def... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dist-build/Makefile
config.status: creating msvc-scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/libsodium/Makefile
config.status: creating src/libsodium/include/Makefile
config.status: creating src/libsodium/include/sodium/version.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> make
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/make  all-recursive
Making all in libsodium
Making all in dist-build
make[3]: Nothing to be done for `all'.
Making all in msvc-scripts
make[3]: Nothing to be done for `all'.
Making all in src
Making all in libsodium
Making all in include
make[5]: Nothing to be done for `all'.
  CC     crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
  CC     crypto_auth/libsodium_la-crypto_auth.lo
  CC     crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256_api.lo
  CC     crypto_auth/hmacsha256/cp/libsodium_la-hmac_hmacsha256.lo
  CC     crypto_auth/hmacsha256/cp/libsodium_la-verify_hmacsha256.lo
  CC     crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512_api.lo
  CC     crypto_auth/hmacsha512/cp/libsodium_la-hmac_hmacsha512.lo
  CC     crypto_auth/hmacsha512/cp/libsodium_la-verify_hmacsha512.lo
  CC     crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256_api.lo
  CC     crypto_auth/hmacsha512256/cp/libsodium_la-hmac_hmacsha512256.lo
  CC     crypto_auth/hmacsha512256/cp/libsodium_la-verify_hmacsha512256.lo
  CC     crypto_box/libsodium_la-crypto_box.lo
  CC     crypto_box/libsodium_la-crypto_box_easy.lo
  CC     crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305_api.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-after_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-before_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-box_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-keypair_curve25519xsalsa20poly1305.lo
  CC     crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20.lo
  CC     crypto_core/hsalsa20/libsodium_la-core_hsalsa20_api.lo
  CC     crypto_core/salsa20/ref/libsodium_la-core_salsa20.lo
  CC     crypto_core/salsa20/libsodium_la-core_salsa20_api.lo
  CC     crypto_generichash/libsodium_la-crypto_generichash.lo
  CC     crypto_generichash/blake2/libsodium_la-generichash_blake2_api.lo
  CC     crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo
  CC     crypto_generichash/blake2/ref/libsodium_la-generichash_blake2b.lo
  CC     crypto_hash/libsodium_la-crypto_hash.lo
  CC     crypto_hash/sha256/libsodium_la-hash_sha256_api.lo
  CC     crypto_hash/sha256/cp/libsodium_la-hash_sha256.lo
  CC     crypto_hash/sha512/libsodium_la-hash_sha512_api.lo
  CC     crypto_hash/sha512/cp/libsodium_la-hash_sha512.lo
  CC     crypto_onetimeauth/libsodium_la-crypto_onetimeauth.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305_api.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305_try.lo
  CC     crypto_onetimeauth/poly1305/donna/libsodium_la-auth_poly1305_donna.lo
  CC     crypto_onetimeauth/poly1305/donna/libsodium_la-verify_poly1305_donna.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-crypto_scrypt-common.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-scrypt_platform.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-pbkdf2-sha256.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-pwhash_scryptsalsa208sha256.lo
  CC     crypto_pwhash/scryptsalsa208sha256/nosse/libsodium_la-pwhash_scryptsalsa208sha256_nosse.lo
  CC     crypto_pwhash/scryptsalsa208sha256/sse/libsodium_la-pwhash_scryptsalsa208sha256_sse.lo
  CC     crypto_scalarmult/libsodium_la-crypto_scalarmult.lo
  CC     crypto_scalarmult/curve25519/libsodium_la-scalarmult_curve25519_api.lo
  CC     crypto_secretbox/libsodium_la-crypto_secretbox.lo
  CC     crypto_secretbox/libsodium_la-crypto_secretbox_easy.lo
  CC     crypto_secretbox/xsalsa20poly1305/libsodium_la-secretbox_xsalsa20poly1305_api.lo
  CC     crypto_secretbox/xsalsa20poly1305/ref/libsodium_la-box_xsalsa20poly1305.lo
  CC     crypto_shorthash/libsodium_la-crypto_shorthash.lo
  CC     crypto_shorthash/siphash24/libsodium_la-shorthash_siphash24_api.lo
  CC     crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphash24.lo
  CC     crypto_sign/libsodium_la-crypto_sign.lo
  CC     crypto_sign/ed25519/libsodium_la-sign_ed25519_api.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_1.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_add.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_cmov.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_copy.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_frombytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_invert.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_isnegative.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_isnonzero.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_mul.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_neg.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_pow22523.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sq.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sq2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_add.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_double_scalarmult.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_frombytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_madd.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_msub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p3.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p2_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p2_dbl.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_dbl.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_cached.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_p2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_precomp_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_scalarmult_base.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_sub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-keypair.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-open.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sc_muladd.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sc_reduce.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sign.lo
  CC     crypto_stream/libsodium_la-crypto_stream.lo
  CC     crypto_stream/chacha20/libsodium_la-stream_chacha20_api.lo
  CC     crypto_stream/chacha20/ref/libsodium_la-stream_chacha20_ref.lo
  CC     crypto_stream/salsa20/libsodium_la-stream_salsa20_api.lo
  CC     crypto_stream/xsalsa20/libsodium_la-stream_xsalsa20_api.lo
  CC     crypto_stream/xsalsa20/ref/libsodium_la-stream_xsalsa20.lo
  CC     crypto_stream/xsalsa20/ref/libsodium_la-xor_xsalsa20.lo
  CC     crypto_verify/16/libsodium_la-verify_16_api.lo
  CC     crypto_verify/16/ref/libsodium_la-verify_16.lo
  CC     crypto_verify/32/libsodium_la-verify_32_api.lo
  CC     crypto_verify/32/ref/libsodium_la-verify_32.lo
  CC     crypto_verify/64/libsodium_la-verify_64_api.lo
  CC     crypto_verify/64/ref/libsodium_la-verify_64.lo
  CC     randombytes/libsodium_la-randombytes.lo
  CC     randombytes/salsa20/libsodium_la-randombytes_salsa20_random.lo
  CC     randombytes/sysrandom/libsodium_la-randombytes_sysrandom.lo
  CC     sodium/libsodium_la-core.lo
  CC     sodium/libsodium_la-runtime.lo
  CC     sodium/libsodium_la-utils.lo
  CC     sodium/libsodium_la-version.lo
  CC     crypto_scalarmult/curve25519/donna_c64/libsodium_la-base_curve25519_donna_c64.lo
  CC     crypto_scalarmult/curve25519/donna_c64/libsodium_la-smult_curve25519_donna_c64.lo
  CPPAS  crypto_stream/salsa20/amd64_xmm6/libsodium_la-stream_salsa20_amd64_xmm6.lo
  CCLD   libsodium.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in libcork
  CC     cli/libcork_la-commands.lo
  CC     core/libcork_la-allocator.lo
  CC     core/libcork_la-error.lo
  CC     core/libcork_la-gc.lo
  CC     core/libcork_la-hash.lo
  CC     core/libcork_la-ip-address.lo
  CC     core/libcork_la-mempool.lo
  CC     core/libcork_la-timestamp.lo
  CC     core/libcork_la-u128.lo
  CC     ds/libcork_la-array.lo
  CC     ds/libcork_la-bitset.lo
  CC     ds/libcork_la-buffer.lo
  CC     ds/libcork_la-dllist.lo
  CC     ds/libcork_la-file-stream.lo
  CC     ds/libcork_la-hash-table.lo
  CC     ds/libcork_la-managed-buffer.lo
  CC     ds/libcork_la-ring-buffer.lo
  CC     ds/libcork_la-slice.lo
  CC     posix/libcork_la-directory-walker.lo
  CC     posix/libcork_la-env.lo
  CC     posix/libcork_la-exec.lo
  CC     posix/libcork_la-files.lo
  CC     posix/libcork_la-process.lo
  CC     posix/libcork_la-subprocess.lo
  CC     pthreads/libcork_la-thread.lo
  CCLD   libcork.la
Making all in libipset
  CC     libipset_la-general.lo
  CC     bdd/libipset_la-assignments.lo
  CC     bdd/libipset_la-basics.lo
  CC     bdd/libipset_la-bdd-iterator.lo
  CC     bdd/libipset_la-expanded.lo
  CC     bdd/libipset_la-reachable.lo
  CC     bdd/libipset_la-read.lo
  CC     bdd/libipset_la-write.lo
  CC     map/libipset_la-allocation.lo
  CC     map/libipset_la-inspection.lo
  CC     map/libipset_la-ipv4_map.lo
  CC     map/libipset_la-ipv6_map.lo
  CC     map/libipset_la-storage.lo
  CC     set/libipset_la-allocation.lo
  CC     set/libipset_la-inspection.lo
  CC     set/libipset_la-ipv4_set.lo
  CC     set/libipset_la-ipv6_set.lo
  CC     set/libipset_la-iterator.lo
  CC     set/libipset_la-storage.lo
  CCLD   libipset.la
copying selected object files to avoid basename conflicts...
Making all in libudns
  CC     udns_dn.lo
  CC     udns_dntosp.lo
  CC     udns_parse.lo
  CC     udns_resolver.lo
  CC     udns_init.lo
  CC     udns_misc.lo
  CC     udns_XtoX.lo
  CC     udns_rr_a.lo
  CC     udns_rr_ptr.lo
  CC     udns_rr_mx.lo
  CC     udns_rr_txt.lo
  CC     udns_bl.lo
  CC     udns_rr_srv.lo
  CC     udns_rr_naptr.lo
  CC     udns_codes.lo
  CC     udns_jran.lo
  CCLD   libudns.la
Making all in libev
  CC     ev.lo
  CC     event.lo
ev.c:1029:42: error: '_Noreturn' keyword must precede function declarator
  ecb_inline void ecb_unreachable (void) ecb_noreturn;
                                         ^~~~~~~~~~~~
  _Noreturn 
ev.c:832:26: note: expanded from macro 'ecb_noreturn'
  #define ecb_noreturn   _Noreturn
                         ^
1 error generated.
make[2]: *** [ev.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Formula
Path: /usr/local/Library/Formula/shadowsocks-libev.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 635efec4cdf71d7bbd4e26d891aab00fd9eba1cb
Last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.11-x86_64
Xcode: 7.0 => /Applications/Xcode-beta.app/Contents/Developer
CLT: 7.0.0.0.1.1437113798
Clang: 7.0 build 700
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.2/bin/ruby
Java: 1.8.0_11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin
leecade commented 9 years ago

ref #326

leecade commented 9 years ago

thanks @madeye , then there is still a small problem

I want to fix it and PR later.

make output:

/Applications/Xcode-beta.app/Contents/Developer/usr/bin/make  all-recursive
Making all in libsodium
Making all in dist-build
make[3]: Nothing to be done for `all'.
Making all in msvc-scripts
make[3]: Nothing to be done for `all'.
Making all in src
Making all in libsodium
Making all in include
make[5]: Nothing to be done for `all'.
  CC     crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
  CC     crypto_auth/libsodium_la-crypto_auth.lo
  CC     crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256_api.lo
  CC     crypto_auth/hmacsha256/cp/libsodium_la-hmac_hmacsha256.lo
  CC     crypto_auth/hmacsha256/cp/libsodium_la-verify_hmacsha256.lo
  CC     crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512_api.lo
  CC     crypto_auth/hmacsha512/cp/libsodium_la-hmac_hmacsha512.lo
  CC     crypto_auth/hmacsha512/cp/libsodium_la-verify_hmacsha512.lo
  CC     crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256_api.lo
  CC     crypto_auth/hmacsha512256/cp/libsodium_la-hmac_hmacsha512256.lo
  CC     crypto_auth/hmacsha512256/cp/libsodium_la-verify_hmacsha512256.lo
  CC     crypto_box/libsodium_la-crypto_box.lo
  CC     crypto_box/libsodium_la-crypto_box_easy.lo
  CC     crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305_api.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-after_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-before_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-box_curve25519xsalsa20poly1305.lo
  CC     crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-keypair_curve25519xsalsa20poly1305.lo
  CC     crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20.lo
  CC     crypto_core/hsalsa20/libsodium_la-core_hsalsa20_api.lo
  CC     crypto_core/salsa20/ref/libsodium_la-core_salsa20.lo
  CC     crypto_core/salsa20/libsodium_la-core_salsa20_api.lo
  CC     crypto_generichash/libsodium_la-crypto_generichash.lo
  CC     crypto_generichash/blake2/libsodium_la-generichash_blake2_api.lo
  CC     crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo
  CC     crypto_generichash/blake2/ref/libsodium_la-generichash_blake2b.lo
  CC     crypto_hash/libsodium_la-crypto_hash.lo
  CC     crypto_hash/sha256/libsodium_la-hash_sha256_api.lo
  CC     crypto_hash/sha256/cp/libsodium_la-hash_sha256.lo
  CC     crypto_hash/sha512/libsodium_la-hash_sha512_api.lo
  CC     crypto_hash/sha512/cp/libsodium_la-hash_sha512.lo
  CC     crypto_onetimeauth/libsodium_la-crypto_onetimeauth.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305_api.lo
  CC     crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305_try.lo
  CC     crypto_onetimeauth/poly1305/donna/libsodium_la-auth_poly1305_donna.lo
  CC     crypto_onetimeauth/poly1305/donna/libsodium_la-verify_poly1305_donna.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-crypto_scrypt-common.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-scrypt_platform.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-pbkdf2-sha256.lo
  CC     crypto_pwhash/scryptsalsa208sha256/libsodium_la-pwhash_scryptsalsa208sha256.lo
  CC     crypto_pwhash/scryptsalsa208sha256/nosse/libsodium_la-pwhash_scryptsalsa208sha256_nosse.lo
  CC     crypto_pwhash/scryptsalsa208sha256/sse/libsodium_la-pwhash_scryptsalsa208sha256_sse.lo
  CC     crypto_scalarmult/libsodium_la-crypto_scalarmult.lo
  CC     crypto_scalarmult/curve25519/libsodium_la-scalarmult_curve25519_api.lo
  CC     crypto_secretbox/libsodium_la-crypto_secretbox.lo
  CC     crypto_secretbox/libsodium_la-crypto_secretbox_easy.lo
  CC     crypto_secretbox/xsalsa20poly1305/libsodium_la-secretbox_xsalsa20poly1305_api.lo
  CC     crypto_secretbox/xsalsa20poly1305/ref/libsodium_la-box_xsalsa20poly1305.lo
  CC     crypto_shorthash/libsodium_la-crypto_shorthash.lo
  CC     crypto_shorthash/siphash24/libsodium_la-shorthash_siphash24_api.lo
  CC     crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphash24.lo
  CC     crypto_sign/libsodium_la-crypto_sign.lo
  CC     crypto_sign/ed25519/libsodium_la-sign_ed25519_api.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_1.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_add.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_cmov.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_copy.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_frombytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_invert.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_isnegative.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_isnonzero.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_mul.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_neg.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_pow22523.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sq.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sq2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_sub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-fe_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_add.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_double_scalarmult.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_frombytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_madd.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_msub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p3.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p2_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p2_dbl.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_dbl.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_cached.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_p2.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_p3_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_precomp_0.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_scalarmult_base.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_sub.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-ge_tobytes.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-keypair.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-open.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sc_muladd.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sc_reduce.lo
  CC     crypto_sign/ed25519/ref10/libsodium_la-sign.lo
  CC     crypto_stream/libsodium_la-crypto_stream.lo
  CC     crypto_stream/chacha20/libsodium_la-stream_chacha20_api.lo
  CC     crypto_stream/chacha20/ref/libsodium_la-stream_chacha20_ref.lo
  CC     crypto_stream/salsa20/libsodium_la-stream_salsa20_api.lo
  CC     crypto_stream/xsalsa20/libsodium_la-stream_xsalsa20_api.lo
  CC     crypto_stream/xsalsa20/ref/libsodium_la-stream_xsalsa20.lo
  CC     crypto_stream/xsalsa20/ref/libsodium_la-xor_xsalsa20.lo
  CC     crypto_verify/16/libsodium_la-verify_16_api.lo
  CC     crypto_verify/16/ref/libsodium_la-verify_16.lo
  CC     crypto_verify/32/libsodium_la-verify_32_api.lo
  CC     crypto_verify/32/ref/libsodium_la-verify_32.lo
  CC     crypto_verify/64/libsodium_la-verify_64_api.lo
  CC     crypto_verify/64/ref/libsodium_la-verify_64.lo
  CC     randombytes/libsodium_la-randombytes.lo
  CC     randombytes/salsa20/libsodium_la-randombytes_salsa20_random.lo
  CC     randombytes/sysrandom/libsodium_la-randombytes_sysrandom.lo
  CC     sodium/libsodium_la-core.lo
  CC     sodium/libsodium_la-runtime.lo
  CC     sodium/libsodium_la-utils.lo
  CC     sodium/libsodium_la-version.lo
  CC     crypto_scalarmult/curve25519/donna_c64/libsodium_la-base_curve25519_donna_c64.lo
  CC     crypto_scalarmult/curve25519/donna_c64/libsodium_la-smult_curve25519_donna_c64.lo
  CPPAS  crypto_stream/salsa20/amd64_xmm6/libsodium_la-stream_salsa20_amd64_xmm6.lo
  CCLD   libsodium.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in libcork
  CC     cli/libcork_la-commands.lo
  CC     core/libcork_la-allocator.lo
  CC     core/libcork_la-error.lo
  CC     core/libcork_la-gc.lo
  CC     core/libcork_la-hash.lo
  CC     core/libcork_la-ip-address.lo
  CC     core/libcork_la-mempool.lo
  CC     core/libcork_la-timestamp.lo
  CC     core/libcork_la-u128.lo
  CC     ds/libcork_la-array.lo
  CC     ds/libcork_la-bitset.lo
  CC     ds/libcork_la-buffer.lo
  CC     ds/libcork_la-dllist.lo
  CC     ds/libcork_la-file-stream.lo
  CC     ds/libcork_la-hash-table.lo
  CC     ds/libcork_la-managed-buffer.lo
  CC     ds/libcork_la-ring-buffer.lo
  CC     ds/libcork_la-slice.lo
  CC     posix/libcork_la-directory-walker.lo
  CC     posix/libcork_la-env.lo
  CC     posix/libcork_la-exec.lo
  CC     posix/libcork_la-files.lo
  CC     posix/libcork_la-process.lo
  CC     posix/libcork_la-subprocess.lo
  CC     pthreads/libcork_la-thread.lo
  CCLD   libcork.la
Making all in libipset
  CC     libipset_la-general.lo
  CC     bdd/libipset_la-assignments.lo
  CC     bdd/libipset_la-basics.lo
  CC     bdd/libipset_la-bdd-iterator.lo
  CC     bdd/libipset_la-expanded.lo
  CC     bdd/libipset_la-reachable.lo
  CC     bdd/libipset_la-read.lo
  CC     bdd/libipset_la-write.lo
  CC     map/libipset_la-allocation.lo
  CC     map/libipset_la-inspection.lo
  CC     map/libipset_la-ipv4_map.lo
  CC     map/libipset_la-ipv6_map.lo
  CC     map/libipset_la-storage.lo
  CC     set/libipset_la-allocation.lo
  CC     set/libipset_la-inspection.lo
  CC     set/libipset_la-ipv4_set.lo
  CC     set/libipset_la-ipv6_set.lo
  CC     set/libipset_la-iterator.lo
  CC     set/libipset_la-storage.lo
  CCLD   libipset.la
copying selected object files to avoid basename conflicts...
Making all in libudns
  CC     udns_dn.lo
  CC     udns_dntosp.lo
  CC     udns_parse.lo
  CC     udns_resolver.lo
  CC     udns_init.lo
  CC     udns_misc.lo
  CC     udns_XtoX.lo
  CC     udns_rr_a.lo
  CC     udns_rr_ptr.lo
  CC     udns_rr_mx.lo
  CC     udns_rr_txt.lo
  CC     udns_bl.lo
  CC     udns_rr_srv.lo
  CC     udns_rr_naptr.lo
  CC     udns_codes.lo
  CC     udns_jran.lo
  CCLD   libudns.la
Making all in libev
  CC     ev.lo
ev.c:483:48: warning: '/*' within block comment [-Wcomment]
/*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */
                                               ^
ev.c:1692:31: warning: 'extern' variable has an initializer [-Wextern-initializer]
  EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised t...
                              ^
In file included from ev.c:2557:
./ev_poll.c:110:18: warning: expression result unused [-Wunused-value]
        assert (("libev: poll() returned illegal result, broken BSD kernel?", p < po...
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2963:12: warning: expression result unused [-Wunused-value]
  assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2966:14: warning: expression result unused [-Wunused-value]
    assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w-...
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2976:16: warning: expression result unused [-Wunused-value]
      assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2977:16: warning: expression result unused [-Wunused-value]
      assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPAREN...
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2978:16: warning: expression result unused [-Wunused-value]
      assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w ...
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2989:16: warning: expression result unused [-Wunused-value]
      assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3007:14: warning: expression result unused [-Wunused-value]
    assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3020:24: warning: expression result unused [-Wunused-value]
              assert (("libev: io watcher list contains a loop", w != w2));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3024:20: warning: expression result unused [-Wunused-value]
          assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3025:20: warning: expression result unused [-Wunused-value]
          assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3207:24: warning: expression result unused [-Wunused-value]
  ...assert (("libev: negative ev_timer repeat value found while processing timers", w->r...
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3269:24: warning: expression result unused [-Wunused-value]
  ...assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (...
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3408:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3529:22: warning: expression result unused [-Wunused-value]
            assert (("libev: pipe_w not active, but pipe not written", ev_is_active ...
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3703:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with negative fd", fd >= 0));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3704:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3713:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3715:34: warning: '&' within '|' [-Wbitwise-op-parentheses]
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                       ~~~~~~~~~~^~~~~~~~~~~~~ ~
ev.c:3715:34: note: place parentheses around the '&' expression to silence this warning
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                                 ^
                       (                      )
ev.c:3728:12: warning: expression result unused [-Wunused-value]
  ...(("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->f...
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3748:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_timer_start called with negative timer repeat value", w->repea...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3776:14: warning: expression result unused [-Wunused-value]
    assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3838:16: warning: expression result unused [-Wunused-value]
      assert (("libev: ev_periodic_start called with negative interval value", w->in...
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3870:14: warning: expression result unused [-Wunused-value]
    assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]...
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3907:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_signal_start called with illegal signal number", w->signum > ...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3910:12: warning: expression result unused [-Wunused-value]
  assert (("libev: a signal must not be attached to two different loops",
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:4028:12: warning: expression result unused [-Wunused-value]
  assert (("libev: child watchers are only supported in the default loop", loop == e...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:4607:14: warning: expression result unused [-Wunused-value]
    assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable...
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
30 warnings generated.
  CC     event.lo
  CCLD   libev.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
Making all in src
  CC     libshadowsocks_la-utils.lo
  CC     libshadowsocks_la-jconf.lo
  CC     libshadowsocks_la-json.lo
  CC     libshadowsocks_la-encrypt.lo
  CC     libshadowsocks_la-udprelay.lo
  CC     libshadowsocks_la-cache.lo
  CC     libshadowsocks_la-acl.lo
  CC     libshadowsocks_la-netutils.lo
  CC     libshadowsocks_la-local.lo
local.c:284:64: error: use of undeclared identifier 'MSG_FASTOPEN'
                    int s = sendto(remote->fd, remote->buf, r, MSG_FASTOPEN,
                                                               ^
1 error generated.
make[2]: *** [libshadowsocks_la-local.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
madeye commented 9 years ago

Try the latest commit.

leecade commented 9 years ago

Anyway d2794c0c9898229de2dfd6f3acc02ca182335a35 works for me.

Thanks, Hope a new version release for brew

rim99 commented 8 years ago

Still problem:

➜  shadowsocks-libev git:(master) ./configure --prefix=/usr/local/Cellar/Shadowsocks-libev --with-openssl=/usr/local/Cellar/openssl/1.0.2e_1
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... auto/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin15.2.0
checking host system type... x86_64-apple-darwin15.2.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.2.0 file names to x86_64-apple-darwin15.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.2.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking for inotify_init... no
checking for epoll_ctl... no
checking for kqueue... yes
checking for port_create... no
checking for poll... yes
checking for select... yes
checking for eventfd... no
checking for signalfd... no
checking for clock_gettime... no
checking for clock_gettime in -lrt... no
checking for clock_gettime... no
checking for nanosleep... yes
checking for library containing floor... none required
checking for thread local storage (TLS) class... __thread
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking for dlopen... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... no
configure: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/evp.h: proceeding with the compiler's result
checking for openssl/evp.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... no
configure: WARNING: openssl/rsa.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/rsa.h: proceeding with the compiler's result
checking for openssl/rsa.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... no
configure: WARNING: openssl/rand.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/rand.h: proceeding with the compiler's result
checking for openssl/rand.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... no
configure: WARNING: openssl/err.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/err.h: proceeding with the compiler's result
checking for openssl/err.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... no
configure: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/sha.h: proceeding with the compiler's result
checking for openssl/sha.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... no
configure: WARNING: openssl/pem.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/pem.h: proceeding with the compiler's result
checking for openssl/pem.h... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... no
configure: WARNING: openssl/engine.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: openssl/engine.h: proceeding with the compiler's result
checking for openssl/engine.h... yes
checking for EVP_EncryptInit_ex in -lcrypto... yes
checking for RAND_pseudo_bytes... yes
checking for EVP_EncryptInit_ex... yes
checking whether OpenSSL_add_all_algorithms is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for netdb.h... yes
checking for library containing inet_ntop... none required
checking whether inet_ntop is declared... yes
checking for what kind of host... transparent proxy does not support for x86_64-apple-darwin15.2.0
checking if -fstack-protector and -fstack-protector-all are supported.... yes
configure: -fstack-protector enabled in CFLAGS
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for ssize_t... yes
checking whether to enable assertions... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... (cached) yes
checking for uint16_t... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for memset... yes
checking for select... (cached) yes
checking for setresuid... no
checking for setreuid... yes
checking for strerror... yes
checking for getpwnam_r... yes
checking for setrlimit... yes
checking for connect in -lsocket... no
checking for malloc... yes
checking for memset... (cached) yes
checking for socket... yes
checking if compiler needs -Werror to reject unknown flags... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating shadowsocks-libev.pc
config.status: creating Makefile
config.status: creating libcork/Makefile
config.status: creating libipset/Makefile
config.status: creating libudns/Makefile
config.status: creating libev/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libsodium (/Users/rim99/ssconfig/shadowsocks-libev/libsodium)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/Cellar/Shadowsocks-libev'  '--with-openssl=/usr/local/Cellar/openssl/1.0.2e_1' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-apple-darwin15.2.0
checking host system type... x86_64-apple-darwin15.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for __native_client__ defined... no
checking for _FORTIFY_SOURCE defined... no
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -Wsometimes-uninitialized... yes
checking whether C compiler accepts  -Wall... yes
checking whether C compiler accepts  -Wall -Wextra... yes
checking for clang... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts  -Wall -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... yes
checking whether the linker accepts -Wl,-z,relro... no
checking whether the linker accepts -Wl,-z,now... no
checking whether the linker accepts -Wl,-z,noexecstack... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.2.0 file names to x86_64-apple-darwin15.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.2.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ar... (cached) ar
checking for MMX instructions set... checking whether C compiler accepts -mmmx... yes
yes
checking whether C compiler accepts -mmmx... (cached) yes
checking for SSE2 instructions set... checking whether C compiler accepts -msse2... yes
yes
checking whether C compiler accepts -msse2... (cached) yes
checking whether C compiler accepts -msse3... yes
checking for SSE3 instructions set... yes
checking whether C compiler accepts -msse3... (cached) yes
checking whether C compiler accepts -mssse3... yes
checking for SSSE3 instructions set... yes
checking whether C compiler accepts -mssse3... (cached) yes
checking whether C compiler accepts -msse4.1... yes
checking for SSE4.1 instructions set... yes
checking whether C compiler accepts -msse4.1... (cached) yes
checking whether C compiler accepts -mavx... yes
checking for AVX instructions set... yes
checking whether C compiler accepts -mavx... (cached) yes
checking whether C compiler accepts -maes... yes
checking whether C compiler accepts -mpclmul... yes
checking for AESNI instructions set and PCLMULQDQ... yes
checking whether C compiler accepts -maes... (cached) yes
checking whether C compiler accepts -mpclmul... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether __STDC_LIMIT_MACROS is required... no
checking whether we can use x86_64 asm code... yes
checking whether we can assemble AVX opcodes... yes
checking for 128-bit arithmetic... yes
checking for cpuid instruction... yes
checking if weak symbols are supported... yes
checking if data alignment is required... no
checking for arc4random... yes
checking for arc4random_buf... yes
checking for mmap... yes
checking for mlock... yes
checking for madvise... yes
checking for mprotect... yes
checking for explicit_bzero... no
checking for posix_memalign... yes
checking for getpid... yes
checking if gcc/ld supports -Wl,--output-def... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libsodium/Makefile
config.status: creating src/libsodium/include/Makefile
config.status: creating src/libsodium/include/sodium/version.h
config.status: executing depfiles commands
config.status: executing libtool commands
➜  shadowsocks-libev git:(master) make 
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in libsodium
Making all in src
Making all in libsodium
Making all in include
make[5]: Nothing to be done for `all'.
  CC       crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
  CC       crypto_auth/libsodium_la-crypto_auth.lo
  CC       crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256_api.lo
  CC       crypto_auth/hmacsha256/cp/libsodium_la-hmac_hmacsha256.lo
  CC       crypto_auth/hmacsha256/cp/libsodium_la-verify_hmacsha256.lo
  CC       crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512_api.lo
  CC       crypto_auth/hmacsha512/cp/libsodium_la-hmac_hmacsha512.lo
  CC       crypto_auth/hmacsha512/cp/libsodium_la-verify_hmacsha512.lo
  CC       crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256_api.lo
  CC       crypto_auth/hmacsha512256/cp/libsodium_la-hmac_hmacsha512256.lo
  CC       crypto_auth/hmacsha512256/cp/libsodium_la-verify_hmacsha512256.lo
  CC       crypto_box/libsodium_la-crypto_box.lo
  CC       crypto_box/libsodium_la-crypto_box_easy.lo
  CC       crypto_box/libsodium_la-crypto_box_seal.lo
  CC       crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305_api.lo
  CC       crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-after_curve25519xsalsa20poly1305.lo
  CC       crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-before_curve25519xsalsa20poly1305.lo
  CC       crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-box_curve25519xsalsa20poly1305.lo
  CC       crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-keypair_curve25519xsalsa20poly1305.lo
  CC       crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20.lo
  CC       crypto_core/hsalsa20/libsodium_la-core_hsalsa20_api.lo
  CC       crypto_core/salsa20/ref/libsodium_la-core_salsa20.lo
  CC       crypto_core/salsa20/libsodium_la-core_salsa20_api.lo
  CC       crypto_generichash/libsodium_la-crypto_generichash.lo
  CC       crypto_generichash/blake2/libsodium_la-generichash_blake2_api.lo
  CC       crypto_generichash/blake2/ref/libsodium_la-blake2b-compress-ref.lo
  CC       crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo
  CC       crypto_generichash/blake2/ref/libsodium_la-generichash_blake2b.lo
  CC       crypto_hash/libsodium_la-crypto_hash.lo
  CC       crypto_hash/sha256/libsodium_la-hash_sha256_api.lo
  CC       crypto_hash/sha256/cp/libsodium_la-hash_sha256.lo
  CC       crypto_hash/sha512/libsodium_la-hash_sha512_api.lo
  CC       crypto_hash/sha512/cp/libsodium_la-hash_sha512.lo
  CC       crypto_onetimeauth/libsodium_la-crypto_onetimeauth.lo
  CC       crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305.lo
  CC       crypto_onetimeauth/poly1305/donna/libsodium_la-poly1305_donna.lo
  CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-crypto_scrypt-common.lo
  CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-scrypt_platform.lo
  CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-pbkdf2-sha256.lo
  CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-pwhash_scryptsalsa208sha256.lo
  CC       crypto_pwhash/scryptsalsa208sha256/nosse/libsodium_la-pwhash_scryptsalsa208sha256_nosse.lo
  CC       crypto_scalarmult/libsodium_la-crypto_scalarmult.lo
  CC       crypto_scalarmult/curve25519/libsodium_la-scalarmult_curve25519.lo
  CC       crypto_secretbox/libsodium_la-crypto_secretbox.lo
  CC       crypto_secretbox/libsodium_la-crypto_secretbox_easy.lo
  CC       crypto_secretbox/xsalsa20poly1305/libsodium_la-secretbox_xsalsa20poly1305_api.lo
  CC       crypto_secretbox/xsalsa20poly1305/ref/libsodium_la-box_xsalsa20poly1305.lo
  CC       crypto_shorthash/libsodium_la-crypto_shorthash.lo
  CC       crypto_shorthash/siphash24/libsodium_la-shorthash_siphash24_api.lo
  CC       crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphash24.lo
  CC       crypto_sign/libsodium_la-crypto_sign.lo
  CC       crypto_sign/ed25519/libsodium_la-sign_ed25519_api.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_0.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_1.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_add.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_cmov.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_copy.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_frombytes.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_invert.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_isnegative.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_isnonzero.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_mul.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_neg.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_pow22523.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_sq.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_sq2.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_sub.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-fe_tobytes.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_add.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_double_scalarmult.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_frombytes.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_madd.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_msub.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p2.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p3.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p2_0.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p2_dbl.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p3_0.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p3_dbl.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_cached.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_p2.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_p3_tobytes.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_precomp_0.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_scalarmult_base.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_sub.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-ge_tobytes.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-keypair.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-open.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-sc_muladd.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-sc_reduce.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-sign.lo
  CC       crypto_stream/libsodium_la-crypto_stream.lo
  CC       crypto_stream/chacha20/libsodium_la-stream_chacha20.lo
  CC       crypto_stream/chacha20/ref/libsodium_la-stream_chacha20_ref.lo
  CC       crypto_stream/salsa20/libsodium_la-stream_salsa20_api.lo
  CC       crypto_stream/xsalsa20/libsodium_la-stream_xsalsa20_api.lo
  CC       crypto_stream/xsalsa20/ref/libsodium_la-stream_xsalsa20.lo
  CC       crypto_stream/xsalsa20/ref/libsodium_la-xor_xsalsa20.lo
  CC       crypto_verify/16/libsodium_la-verify_16_api.lo
  CC       crypto_verify/16/ref/libsodium_la-verify_16.lo
  CC       crypto_verify/32/libsodium_la-verify_32_api.lo
  CC       crypto_verify/32/ref/libsodium_la-verify_32.lo
  CC       crypto_verify/64/libsodium_la-verify_64_api.lo
  CC       crypto_verify/64/ref/libsodium_la-verify_64.lo
  CC       randombytes/libsodium_la-randombytes.lo
  CC       sodium/libsodium_la-core.lo
  CC       sodium/libsodium_la-runtime.lo
  CC       sodium/libsodium_la-utils.lo
  CC       sodium/libsodium_la-version.lo
  CC       randombytes/salsa20/libsodium_la-randombytes_salsa20_random.lo
  CC       randombytes/sysrandom/libsodium_la-randombytes_sysrandom.lo
  CC       crypto_scalarmult/curve25519/donna_c64/libsodium_la-curve25519_donna_c64.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-curve25519_sandy2x.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-fe51_invert.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-fe_frombytes_sandy2x.lo
  CPPAS    crypto_scalarmult/curve25519/sandy2x/libsodium_la-sandy2x.lo
  CPPAS    crypto_stream/salsa20/amd64_xmm6/libsodium_la-stream_salsa20_amd64_xmm6.lo
  CC       crypto_core/salsa2012/ref/libsodium_la-core_salsa2012.lo
  CC       crypto_core/salsa2012/libsodium_la-core_salsa2012_api.lo
  CC       crypto_core/salsa208/ref/libsodium_la-core_salsa208.lo
  CC       crypto_core/salsa208/libsodium_la-core_salsa208_api.lo
  CC       crypto_sign/ed25519/ref10/libsodium_la-obsolete.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-afternm_aes128ctr.lo
  CC       crypto_stream/aes128ctr/libsodium_la-stream_aes128ctr_api.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-beforenm_aes128ctr.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-common_aes128ctr.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-consts_aes128ctr.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-int128_aes128ctr.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-stream_aes128ctr.lo
  CC       crypto_stream/aes128ctr/portable/libsodium_la-xor_afternm_aes128ctr.lo
  CC       crypto_stream/salsa2012/libsodium_la-stream_salsa2012_api.lo
  CC       crypto_stream/salsa2012/ref/libsodium_la-stream_salsa2012.lo
  CC       crypto_stream/salsa2012/ref/libsodium_la-xor_salsa2012.lo
  CC       crypto_stream/salsa208/libsodium_la-stream_salsa208_api.lo
  CC       crypto_stream/salsa208/ref/libsodium_la-stream_salsa208.lo
  CC       crypto_stream/salsa208/ref/libsodium_la-xor_salsa208.lo
  CC       crypto_aead/aes256gcm/aesni/libaesni_la-aead_aes256gcm_aesni.lo
  CCLD     libaesni.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
  CC       crypto_pwhash/scryptsalsa208sha256/sse/libsse2_la-pwhash_scryptsalsa208sha256_sse.lo
  CC       crypto_onetimeauth/poly1305/sse2/libsse2_la-poly1305_sse2.lo
  CCLD     libsse2.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
  CC       crypto_generichash/blake2/ref/libssse3_la-blake2b-compress-ssse3.lo
  CC       crypto_stream/chacha20/vec/libssse3_la-stream_chacha20_vec.lo
  CCLD     libssse3.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
  CC       crypto_generichash/blake2/ref/libsse41_la-blake2b-compress-sse41.lo
  CCLD     libsse41.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
  CCLD     libsodium.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in libcork
  CC       cli/libcork_la-commands.lo
  CC       core/libcork_la-allocator.lo
  CC       core/libcork_la-error.lo
  CC       core/libcork_la-gc.lo
  CC       core/libcork_la-hash.lo
  CC       core/libcork_la-ip-address.lo
  CC       core/libcork_la-mempool.lo
  CC       core/libcork_la-timestamp.lo
  CC       core/libcork_la-u128.lo
  CC       ds/libcork_la-array.lo
  CC       ds/libcork_la-bitset.lo
  CC       ds/libcork_la-buffer.lo
  CC       ds/libcork_la-dllist.lo
  CC       ds/libcork_la-file-stream.lo
  CC       ds/libcork_la-hash-table.lo
  CC       ds/libcork_la-managed-buffer.lo
  CC       ds/libcork_la-ring-buffer.lo
  CC       ds/libcork_la-slice.lo
  CC       posix/libcork_la-directory-walker.lo
  CC       posix/libcork_la-env.lo
  CC       posix/libcork_la-exec.lo
  CC       posix/libcork_la-files.lo
  CC       posix/libcork_la-process.lo
  CC       posix/libcork_la-subprocess.lo
  CC       pthreads/libcork_la-thread.lo
  CCLD     libcork.la
Making all in libipset
  CC       libipset_la-general.lo
  CC       bdd/libipset_la-assignments.lo
  CC       bdd/libipset_la-basics.lo
  CC       bdd/libipset_la-bdd-iterator.lo
  CC       bdd/libipset_la-expanded.lo
  CC       bdd/libipset_la-reachable.lo
  CC       bdd/libipset_la-read.lo
  CC       bdd/libipset_la-write.lo
  CC       map/libipset_la-allocation.lo
  CC       map/libipset_la-inspection.lo
  CC       map/libipset_la-ipv4_map.lo
  CC       map/libipset_la-ipv6_map.lo
  CC       map/libipset_la-storage.lo
  CC       set/libipset_la-allocation.lo
  CC       set/libipset_la-inspection.lo
  CC       set/libipset_la-ipv4_set.lo
  CC       set/libipset_la-ipv6_set.lo
  CC       set/libipset_la-iterator.lo
  CC       set/libipset_la-storage.lo
  CCLD     libipset.la
copying selected object files to avoid basename conflicts...
Making all in libudns
  CC       udns_dn.lo
  CC       udns_dntosp.lo
  CC       udns_parse.lo
  CC       udns_resolver.lo
  CC       udns_init.lo
  CC       udns_misc.lo
  CC       udns_XtoX.lo
  CC       udns_rr_a.lo
  CC       udns_rr_ptr.lo
  CC       udns_rr_mx.lo
  CC       udns_rr_txt.lo
  CC       udns_bl.lo
  CC       udns_rr_srv.lo
  CC       udns_rr_naptr.lo
  CC       udns_codes.lo
  CC       udns_jran.lo
  CCLD     libudns.la
Making all in libev
  CC       ev.lo
ev.c:483:48: warning: '/*' within block comment [-Wcomment]
/*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */
                                               ^
ev.c:1692:31: warning: 'extern' variable has an initializer [-Wextern-initializer]
  EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
                              ^
In file included from ev.c:2557:
./ev_poll.c:110:18: warning: expression result unused [-Wunused-value]
        assert (("libev: poll() returned illegal result, broken BSD kernel?", p < polls + pollcnt));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2963:12: warning: expression result unused [-Wunused-value]
  assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2966:14: warning: expression result unused [-Wunused-value]
    assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2976:16: warning: expression result unused [-Wunused-value]
      assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2977:16: warning: expression result unused [-Wunused-value]
      assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i])));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2978:16: warning: expression result unused [-Wunused-value]
      assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i]))));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:2989:16: warning: expression result unused [-Wunused-value]
      assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3007:14: warning: expression result unused [-Wunused-value]
    assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3020:24: warning: expression result unused [-Wunused-value]
              assert (("libev: io watcher list contains a loop", w != w2));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3024:20: warning: expression result unused [-Wunused-value]
          assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3025:20: warning: expression result unused [-Wunused-value]
          assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3207:24: warning: expression result unused [-Wunused-value]
              assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3269:24: warning: expression result unused [-Wunused-value]
              assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3408:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3529:22: warning: expression result unused [-Wunused-value]
            assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w)));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3703:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with negative fd", fd >= 0));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3704:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE))));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3713:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3715:34: warning: '&' within '|' [-Wbitwise-op-parentheses]
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                       ~~~~~~~~~~^~~~~~~~~~~~~ ~
ev.c:3715:34: note: place parentheses around the '&' expression to silence this warning
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                                 ^
                       (                      )
ev.c:3728:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3748:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3776:14: warning: expression result unused [-Wunused-value]
    assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3838:16: warning: expression result unused [-Wunused-value]
      assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3870:14: warning: expression result unused [-Wunused-value]
    assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3907:12: warning: expression result unused [-Wunused-value]
  assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:3910:12: warning: expression result unused [-Wunused-value]
  assert (("libev: a signal must not be attached to two different loops",
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:4028:12: warning: expression result unused [-Wunused-value]
  assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
ev.c:4607:14: warning: expression result unused [-Wunused-value]
    assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ()));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
30 warnings generated.
  CC       event.lo
  CCLD     libev.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
Making all in src
  CC       libshadowsocks_la-utils.lo
  CC       libshadowsocks_la-jconf.lo
  CC       libshadowsocks_la-json.lo
  CC       libshadowsocks_la-encrypt.lo
In file included from encrypt.c:77:
./encrypt.h:108:18: error: field has incomplete type 'cipher_evp_t' (aka 'struct evp_cipher_ctx_st')
    cipher_evp_t evp;
                 ^
/usr/local/Cellar/openssl/1.0.2e_1/include/openssl/ossl_typ.h:130:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
encrypt.c:1431:17: error: variable has incomplete type 'cipher_kt_t' (aka 'struct evp_cipher_st')
    cipher_kt_t cipher_info;
                ^
/usr/local/Cellar/openssl/1.0.2e_1/include/openssl/ossl_typ.h:129:16: note: forward declaration of 'struct evp_cipher_st'
typedef struct evp_cipher_st EVP_CIPHER;
               ^
encrypt.c:1440:15: error: incomplete definition of type 'struct evp_cipher_st'
        cipher->key_len = supported_ciphers_key_size[method];
        ~~~~~~^
/usr/local/Cellar/openssl/1.0.2e_1/include/openssl/ossl_typ.h:129:16: note: forward declaration of 'struct evp_cipher_st'
typedef struct evp_cipher_st EVP_CIPHER;
               ^
encrypt.c:1441:15: error: incomplete definition of type 'struct evp_cipher_st'
        cipher->iv_len  = supported_ciphers_iv_size[method];
        ~~~~~~^
/usr/local/Cellar/openssl/1.0.2e_1/include/openssl/ossl_typ.h:129:16: note: forward declaration of 'struct evp_cipher_st'
typedef struct evp_cipher_st EVP_CIPHER;
               ^
4 errors generated.
make[2]: *** [libshadowsocks_la-encrypt.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
➜  shadowsocks-libev git:(master) 
rim99 commented 8 years ago

I use the latest Openssl & Shadowsocks-Libev

philipdongfei commented 8 years ago

@rim99 , I have this problem. Do you solve this problem?