Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created May 16, 2018 05:04
Show Gist options
  • Save ilovezfs/ff000f741d3c745bb36b67615a105c54 to your computer and use it in GitHub Desktop.
Save ilovezfs/ff000f741d3c745bb36b67615a105c54 to your computer and use it in GitHub Desktop.
iMac-TMP:homebrew-core joe$ brew instal -dvs aria2 --env=std
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/aria2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/bin/sandbox-exec -f /tmp/homebrew20180515-10919-16msyxl.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/aria2.rb --verbose --debug --env=std
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/aria2.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
==> Downloading https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0.tar.xz
Already downloaded: /Users/joe/Library/Caches/Homebrew/aria2-1.34.0.tar.xz
==> Verifying aria2-1.34.0.tar.xz checksum
tar xJf /Users/joe/Library/Caches/Homebrew/aria2-1.34.0.tar.xz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/aria2/1.34.0 --with-appletls --without-openssl --without-gnutls --without-libgmp --without-libnettle --without-libgcrypt
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking target system type... x86_64-apple-darwin15.6.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... ./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 make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking whether /usr/bin/clang understands -c and -o together... yes
checking dependency style of /usr/bin/clang... none
checking how to run the C preprocessor... /usr/bin/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 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 /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/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 -B output from /usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
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 /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.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... no
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking dependency style of /usr/bin/clang++... none
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
checking whether /usr/bin/clang understands -c and -o together... (cached) yes
checking dependency style of /usr/bin/clang... (cached) none
checking for bison... bison -y
checking dependency style of /usr/bin/clang... none
checking for ar... (cached) ar
checking for sphinx-build... no
checking for rst2html.py... /usr/local/bin/rst2html.py
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking whether /usr/bin/clang++ supports C++11 features by default... no
checking whether /usr/bin/clang++ supports C++11 features with -std=c++11 ... yes
checking whether the c++ compiler supports nullptr... checking whether the C++ compiler supports `override` keyword... yes
checking for CPPUNIT... no
configure: WARNING: No package 'cppunit' found
checking for ZLIB... yes
checking for gzbuffer... yes
checking for gzsetparams... yes
checking for LIBXML2... yes
checking for SQLITE3... yes
checking for sqlite3_open_v2... yes
checking whether to enable Mac OS X native SSL/TLS... yes
checking for main in -lcrypt32... no
checking for main in -lsecur32... no
checking for main in -ladvapi32... no
checking for wincrypt.h... no
checking for security.h... no
checking for LIBSSH2... no
configure: WARNING: No package 'libssh2' found
checking for LIBCARES... no
configure: WARNING: No package 'libcares' found
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
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 float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... (cached) yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for pid_t... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for struct timespec... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for error_at_line... no
checking whether /usr/bin/clang needs -traditional... no
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
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 working strtod... yes
checking for __argz_count... no
checking for __argz_next... no
checking for __argz_stringify... no
checking for atexit... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getifaddrs... yes
checking for getpagesize... yes
checking for getrandom... no
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... no
checking for memset... yes
checking for mkdir... yes
checking for mmap... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for posix_fadvise... no
checking for posix_memalign... yes
checking for pow... yes
checking for putenv... yes
checking for rmdir... yes
checking for select... yes
checking for setlocale... yes
checking for sigaction... yes
checking for sleep... yes
checking for socket... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking for getrandom linux syscall interface... no
checking for epoll_create... no
checking for posix_fallocate... no
checking for fallocate... no
checking for asctime_r... yes
checking for localtime_r... yes
checking for basename... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for gettimeofday... yes
checking for strptime... yes
checking for daemon... yes
checking for poll... yes
checking for timegm... yes
checking for port_associate... no
checking for kqueue... yes
checking whether struct kevent.udata is intptr_t... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking whether struct option.name is assignable from const char*... yes
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/libaria2.pc
config.status: creating src/includes/Makefile
config.status: creating test/Makefile
config.status: creating po/Makefile.in
config.status: creating lib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/manual-src/Makefile
config.status: creating doc/manual-src/en/Makefile
config.status: creating doc/manual-src/en/conf.py
config.status: creating doc/manual-src/ru/Makefile
config.status: creating doc/manual-src/ru/conf.py
config.status: creating doc/manual-src/pt/Makefile
config.status: creating doc/manual-src/pt/conf.py
config.status: creating deps/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=== configuring in deps/wslay (/private/tmp/aria2-20180515-10921-13tb014/aria2-1.34.0/deps/wslay)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/Cellar/aria2/1.34.0' '--disable-dependency-tracking' '--with-appletls' '--without-openssl' '--without-gnutls' '--without-libgmp' '--without-libnettle' '--without-libgcrypt' 'CC=/usr/bin/clang' 'CFLAGS=-Os -w -pipe -march=native -mmacosx-version-min=10.11' 'LDFLAGS=-L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names' 'CPPFLAGS=-F/usr/local/Frameworks' 'CXX=/usr/bin/clang++' 'CXXFLAGS=-Os -w -pipe -march=native -mmacosx-version-min=10.11' 'PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/usr/lib/pkgconfig' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking how to print strings... printf
checking for gcc... /usr/bin/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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking whether /usr/bin/clang understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/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 /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/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 for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking command to parse /usr/bin/nm -B output from /usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
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... /usr/bin/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 /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.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 target system type... x86_64-apple-darwin15.6.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... ./install-sh -c -d
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 /usr/bin/clang... none
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
checking whether /usr/bin/clang understands -c and -o together... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking dependency style of /usr/bin/clang++... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for sphinx-build... no
checking for NETTLE... no
checking for CU_initialize_registry in -lcunit... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for ptrdiff_t... yes
checking whether byte ordering is bigendian... no
checking for memmove... yes
checking for memset... yes
checking for ntohl... yes
checking for ntohs... yes
checking for htons... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/libwslay.pc
config.status: creating lib/includes/Makefile
config.status: creating lib/includes/wslay/wslayver.h
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
configure: summary of build options:
version: 1.0.1-DEV shared 0:1:0
Host type: x86_64-apple-darwin15.6.0
Install prefix: /usr/local/Cellar/aria2/1.34.0
C compiler: /usr/bin/clang
CFlags: -Os -w -pipe -march=native -mmacosx-version-min=10.11
Library types: Shared=yes, Static=yes
CUnit: no
Nettle: no
Build examples: no
configure: summary of build options:
Build: x86_64-apple-darwin15.6.0
Host: x86_64-apple-darwin15.6.0
Target: x86_64-apple-darwin15.6.0
Install prefix: /usr/local/Cellar/aria2/1.34.0
CC: /usr/bin/clang
CXX: /usr/bin/clang++
CPP: /usr/bin/clang -E
CXXFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.11
CFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.11
CPPFLAGS: -F/usr/local/Frameworks
LDFLAGS: -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names
LIBS:
DEFS: -DHAVE_CONFIG_H
CXX1XCXXFLAGS: -std=c++11
EXTRACXXFLAGS: -pipe
EXTRACFLAGS: -pipe
EXTRACPPFLAGS:
EXTRALDFLAGS:
EXTRALIBS:
WARNCXXFLAGS:
LibUV: no (CFLAGS='' LIBS='')
SQLite3: yes (CFLAGS='' LIBS='-lsqlite3')
SSL Support: yes
AppleTLS: yes (LDFLAGS='-framework CoreFoundation -framework Security')
WinTLS: no (LIBS='')
GnuTLS: no (CFLAGS='' LIBS='')
OpenSSL: no (CFLAGS='' LIBS='')
CA Bundle:
LibNettle: no (CFLAGS='' LIBS='')
LibGmp: no (CFLAGS='' LIBS='')
LibGcrypt: no (CFLAGS='' LIBS='')
LibXML2: yes (CFLAGS='-I/usr/include/libxml2' LIBS='-lxml2')
LibExpat: no (CFLAGS='' LIBS='')
LibCares: no (CFLAGS='' LIBS='')
Zlib: yes (CFLAGS='' LIBS='-lz')
Libssh2: no (CFLAGS='' LIBS='')
Tcmalloc: no (CFLAGS='' LIBS='')
Jemalloc: no (CFLAGS='' LIBS='')
Epoll: no
Bittorrent: yes
Metalink: yes
XML-RPC: yes
Message Digest: apple
WebSocket: yes (CFLAGS='-I$(top_builddir)/deps/wslay/lib/includes -I$(top_srcdir)/deps/wslay/lib/includes' LIBS='$(top_builddir)/deps/wslay/lib/libwslay.la')
Libaria2: no (shared=yes static=no)
bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion
Static build: no
==> make install
Making install in po
if test "aria2" = "gettext-tools"; then \
.././install-sh -c -d /usr/local/Cellar/aria2/1.34.0/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/Cellar/aria2/1.34.0/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /usr/local/Cellar/aria2/1.34.0/share/gettext/po/$file; \
done; \
else \
: ; \
fi
Making install in lib
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in deps
Making install in wslay
Making install in lib
Making install in includes
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c -o wslay_frame.lo wslay_frame.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_frame.c -fno-common -DPIC -o .libs/wslay_frame.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_frame.c -o wslay_frame.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c -o wslay_event.lo wslay_event.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_event.c -fno-common -DPIC -o .libs/wslay_event.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_event.c -o wslay_event.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c -o wslay_queue.lo wslay_queue.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_queue.c -fno-common -DPIC -o .libs/wslay_queue.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_queue.c -o wslay_queue.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c -o wslay_net.lo wslay_net.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_net.c -fno-common -DPIC -o .libs/wslay_net.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -F/usr/local/Frameworks -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c wslay_net.c -o wslay_net.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang -Wall -Os -w -pipe -march=native -mmacosx-version-min=10.11 -no-undefined -version-info 0:1:0 -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -o libwslay.la wslay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
libtool: link: ar cru .libs/libwslay.a .libs/wslay_frame.o .libs/wslay_event.o .libs/wslay_queue.o .libs/wslay_net.o
libtool: link: ranlib .libs/libwslay.a
libtool: link: ( cd ".libs" && rm -f "libwslay.la" && ln -s "../libwslay.la" "libwslay.la" )
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in tests
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in src
Making install in includes
make[3]: Nothing to be done for `install-exec-am'.
CXX A2STR.lo
CXX AbstractAuthResolver.lo
CXX AbstractCommand.lo
CXX AbstractDiskWriter.lo
CXX AbstractHttpServerResponseCommand.lo
CXX AbstractOptionHandler.lo
CXX AbstractProxyRequestCommand.lo
CXX AbstractProxyResponseCommand.lo
CXX AbstractSingleDiskAdaptor.lo
CXX AdaptiveFileAllocationIterator.lo
CXX AdaptiveURISelector.lo
CXX AuthConfig.lo
CXX AuthConfigFactory.lo
CXX AutoSaveCommand.lo
CXX BackupIPv4ConnectCommand.lo
CXX base32.lo
CXX bitfield.lo
CXX BitfieldMan.lo
CXX BufferedFile.lo
CXX ByteArrayDiskWriter.lo
CXX CheckIntegrityCommand.lo
CXX CheckIntegrityDispatcherCommand.lo
CXX CheckIntegrityEntry.lo
CXX Checksum.lo
CXX ChecksumCheckIntegrityEntry.lo
CXX ChunkChecksum.lo
CXX ChunkedDecodingStreamFilter.lo
CXX ColorizedStream.lo
CXX Command.lo
CXX ConnectCommand.lo
CXX console.lo
CXX ConsoleStatCalc.lo
CXX ContentTypeRequestGroupCriteria.lo
CXX Context.lo
CXX ContextAttribute.lo
CXX Cookie.lo
CXX CookieStorage.lo
CXX cookie_helper.lo
CXX CreateRequestCommand.lo
CXX CUIDCounter.lo
CXX DefaultAuthResolver.lo
CXX DefaultBtProgressInfoFile.lo
CXX DefaultDiskWriter.lo
CXX DefaultDiskWriterFactory.lo
CXX DefaultPieceStorage.lo
CXX DefaultStreamPieceSelector.lo
CXX DirectDiskAdaptor.lo
CXX DiskAdaptor.lo
CXX DlAbortEx.lo
CXX DlRetryEx.lo
CXX DNSCache.lo
CXX DownloadCommand.lo
CXX DownloadContext.lo
CXX DownloadEngine.lo
CXX DownloadEngineFactory.lo
CXX DownloadFailureException.lo
CXX DownloadHandler.lo
CXX DownloadHandlerConstants.lo
CXX DownloadResult.lo
CXX download_handlers.lo
CXX download_helper.lo
CXX Exception.lo
CXX FatalException.lo
CXX FeatureConfig.lo
CXX FeedbackURISelector.lo
CXX File.lo
CXX FileAllocationCommand.lo
CXX FileAllocationDispatcherCommand.lo
CXX FileAllocationEntry.lo
CXX FileEntry.lo
CXX FillRequestGroupCommand.lo
CXX fmt.lo
CXX FtpConnection.lo
CXX FtpDownloadCommand.lo
CXX FtpFinishDownloadCommand.lo
CXX FtpInitiateConnectionCommand.lo
CXX FtpNegotiationCommand.lo
CXX FtpTunnelRequestCommand.lo
CXX FtpTunnelResponseCommand.lo
CXX GeomStreamPieceSelector.lo
CXX GroupId.lo
CXX GrowSegment.lo
CXX HaveEraseCommand.lo
CXX help_tags.lo
CXX HttpConnection.lo
CXX HttpDownloadCommand.lo
CXX HttpHeader.lo
CXX HttpHeaderProcessor.lo
CXX HttpInitiateConnectionCommand.lo
CXX HttpListenCommand.lo
CXX HttpProxyRequestCommand.lo
CXX HttpProxyResponseCommand.lo
CXX HttpRequest.lo
CXX HttpRequestCommand.lo
CXX HttpResponse.lo
CXX HttpResponseCommand.lo
CXX HttpServer.lo
CXX HttpServerBodyCommand.lo
CXX HttpServerCommand.lo
CXX HttpServerResponseCommand.lo
CXX HttpSkipResponseCommand.lo
CXX InitiateConnectionCommand.lo
CXX InitiateConnectionCommandFactory.lo
CXX InorderStreamPieceSelector.lo
CXX RandomStreamPieceSelector.lo
CXX InorderURISelector.lo
CXX IOFile.lo
CXX IteratableChecksumValidator.lo
CXX IteratableChunkChecksumValidator.lo
CXX json.lo
CXX JsonParser.lo
CXX LogFactory.lo
CXX Logger.lo
CXX LongestSequencePieceSelector.lo
CXX MessageDigest.lo
CXX message_digest_helper.lo
CXX MetadataInfo.lo
CXX MetalinkHttpEntry.lo
CXX MultiDiskAdaptor.lo
CXX MultiFileAllocationIterator.lo
CXX MultiUrlRequestInfo.lo
CXX NameResolver.lo
CXX Netrc.lo
CXX NetrcAuthResolver.lo
CXX NetStat.lo
CXX Notifier.lo
CXX NsCookieParser.lo
CXX NullSinkStreamFilter.lo
CXX Option.lo
CXX OptionHandler.lo
CXX OptionHandlerException.lo
CXX OptionHandlerFactory.lo
CXX OptionHandlerImpl.lo
CXX OptionParser.lo
CXX option_processing.lo
CXX paramed_string.lo
CXX PeerStat.lo
CXX Piece.lo
CXX PiecedSegment.lo
CXX PieceHashCheckIntegrityEntry.lo
CXX PieceStatMan.lo
CXX Platform.lo
CXX prefs.lo
CXX ProtocolDetector.lo
CXX Range.lo
CXX RarestPieceSelector.lo
CXX RealtimeCommand.lo
CXX RecoverableException.lo
CXX Request.lo
CXX RequestGroup.lo
CXX RequestGroupEntry.lo
CXX RequestGroupMan.lo
CXX RpcMethod.lo
CXX RpcMethodFactory.lo
CXX RpcMethodImpl.lo
CXX RpcRequest.lo
CXX RpcResponse.lo
CXX rpc_helper.lo
CXX SaveSessionCommand.lo
CXX SegmentMan.lo
CXX SelectEventPoll.lo
CXX ServerStat.lo
CXX ServerStatMan.lo
CXX SessionSerializer.lo
CXX Signature.lo
CXX SimpleRandomizer.lo
CXX SingleFileAllocationIterator.lo
CXX SinkStreamFilter.lo
CXX SocketBuffer.lo
CXX SocketCore.lo
CXX SocketRecvBuffer.lo
CXX SpeedCalc.lo
CXX StreamCheckIntegrityEntry.lo
CXX StreamFileAllocationEntry.lo
CXX StreamFilter.lo
CXX TimeA2.lo
CXX TimeBasedCommand.lo
CXX TimedHaltCommand.lo
CXX TimerA2.lo
CXX TorrentAttribute.lo
CXX TransferStat.lo
CXX TruncFileAllocationIterator.lo
CXX UnknownLengthPieceStorage.lo
CXX UnknownOptionException.lo
CXX uri.lo
CXX UriListParser.lo
CXX URIResult.lo
CC uri_split.lo
CXX util.lo
CXX util_security.lo
CXX ValueBase.lo
CXX ValueBaseStructParserStateImpl.lo
CXX ValueBaseStructParserStateMachine.lo
CXX version_usage.lo
CXX wallclock.lo
CXX WatchProcessCommand.lo
CXX WrDiskCache.lo
CXX WrDiskCacheEntry.lo
CXX XmlRpcRequestParserController.lo
CXX OpenedFileCounter.lo
CXX SHA1IOFile.lo
CXX EvictSocketPoolCommand.lo
CXX WebSocketInteractionCommand.lo
CXX WebSocketResponseCommand.lo
CXX WebSocketSession.lo
CXX WebSocketSessionMan.lo
CXX XmlAttr.lo
CXX XmlParser.lo
CXX Xml2XmlParser.lo
CXX XmlRpcDiskWriter.lo
CXX XmlRpcRequestParserStateImpl.lo
CXX XmlRpcRequestParserStateMachine.lo
CXX FallocFileAllocationIterator.lo
CXX AppleMessageDigestImpl.lo
CXX AppleTLSContext.lo
CXX AppleTLSSession.lo
CXX InternalDHKeyExchange.lo
In file included from InternalDHKeyExchange.cc:36:
In file included from ./InternalDHKeyExchange.h:40:
./bignum.h:34:25: error: use of undeclared identifier 'make_unique'
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:37: error: unexpected type name 'char_t': expected expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:44: error: expected expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:35:33: error: use of undeclared identifier 'make_unique'
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:45: error: unexpected type name 'char_t': expected expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:52: error: expected expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:46: error: use of undeclared identifier 'make_unique'
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:58: error: unexpected type name 'char_t': expected expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:65: error: expected expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:14: error: use of undeclared identifier 'make_unique'
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:26: error: unexpected type name 'char_t': expected expression
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:33: error: expected expression
: buf_(make_unique<char_t[]>(dim))
^
InternalDHKeyExchange.cc:58:12: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
prime_ = n(pr.c_str(), pr.length());
^ ~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:68:16: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
generator_ = n(gen.c_str(), gen.length());
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:73:17: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
privateKey_ = n(reinterpret_cast<char*>(buf), pbytes);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:117:5: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
n peerKey(reinterpret_cast<const char*>(peerPublicKeyData),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
16 errors generated.
make[2]: *** [InternalDHKeyExchange.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make install
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 5
maWhen you exit this shell, you will return to the menu.
bash-3.2$ make V=1
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in po
Making all in lib
make[2]: Nothing to be done for `all'.
Making all in deps
Making all in wslay
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in lib
Making all in includes
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
Making all in tests
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in src
Making all in includes
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/local/Cellar/aria2/1.34.0/share/locale\" -DHAVE_CONFIG_H -I/usr/include/libxml2 -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -F/usr/local/Frameworks -std=c++11 -pipe -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c -o InternalDHKeyExchange.lo InternalDHKeyExchange.cc
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/local/Cellar/aria2/1.34.0/share/locale\" -DHAVE_CONFIG_H -I/usr/include/libxml2 -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -F/usr/local/Frameworks -std=c++11 -pipe -Os -w -pipe -march=native -mmacosx-version-min=10.11 -c InternalDHKeyExchange.cc -fno-common -DPIC -o .libs/InternalDHKeyExchange.o
In file included from InternalDHKeyExchange.cc:36:
In file included from ./InternalDHKeyExchange.h:40:
./bignum.h:34:25: error: use of undeclared identifier 'make_unique'
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:37: error: unexpected type name 'char_t': expected expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:44: error: expected expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:35:33: error: use of undeclared identifier 'make_unique'
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:45: error: unexpected type name 'char_t': expected expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:52: error: expected expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:46: error: use of undeclared identifier 'make_unique'
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:58: error: unexpected type name 'char_t': expected expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:65: error: expected expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:14: error: use of undeclared identifier 'make_unique'
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:26: error: unexpected type name 'char_t': expected expression
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:33: error: expected expression
: buf_(make_unique<char_t[]>(dim))
^
InternalDHKeyExchange.cc:58:12: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
prime_ = n(pr.c_str(), pr.length());
^ ~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:68:16: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
generator_ = n(gen.c_str(), gen.length());
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:73:17: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
privateKey_ = n(reinterpret_cast<char*>(buf), pbytes);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
InternalDHKeyExchange.cc:117:5: error: no matching constructor for initialization of 'n' (aka 'ulong<1024>')
n peerKey(reinterpret_cast<const char*>(peerPublicKeyData),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bignum.h:24:29: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
template <size_t dim> class ulong {
^
./bignum.h:24:29: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
16 errors generated.
make[3]: *** [InternalDHKeyExchange.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment