zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.75k stars 2.36k forks source link

make[1]: *** [tools/curve_keygen] Error 1 #1549

Closed dvera closed 7 years ago

dvera commented 9 years ago

Having trouble compiling libzmq. Any help would be appreciated:

[user@host libzmq]$ uname -a
Linux host 2.6.32-431.11.2.el6.x86_64 #1 SMP Mon Mar 3 13:32:45 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[user@host libzmq]$ 
[user@host libzmq]$ 
[user@host libzmq]$ ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I config --force -I config
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: configure.ac: tracing
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.
libtoolize: copying file `config/libtool.m4'
libtoolize: copying file `config/ltoptions.m4'
libtoolize: copying file `config/ltsugar.m4'
libtoolize: copying file `config/ltversion.m4'
libtoolize: copying file `config/lt~obsolete.m4'
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: running: /usr/bin/autoconf --include=config --force
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: running: /usr/bin/autoheader --include=config --force
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
config/libtool.m4:785: _LT_LANG is expanded from...
config/libtool.m4:768: LT_LANG is expanded from...
config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
config/libtool.m4:138: _LT_SETUP is expanded from...
config/libtool.m4:67: LT_INIT is expanded from...
config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:62: the top level
autoreconf: Leaving directory `.'

[user@host libzmq]$ ./configure sodium_LIBS="-L/lustre/medicine/home/user/software/usr/local/lib" sodium_CFLAGS="-I/lustre/medicine/home/user/software/usr/local/include" --prefix=/lustre/medicine/home/user/software/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... (cached) gawk
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... no
checking for asciidoc... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking how to run the C preprocessor... gcc -std=gnu99 -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 whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C compiler works... yes
checking whether we are using Intel C compiler... no
checking whether we are using Sun Studio C compiler... no
checking whether we are using clang C compiler... no
checking whether we are using gcc >= 4 C compiler... yes
checking whether the C++ compiler works... yes
checking whether we are using Intel C++ compiler... no
checking whether we are using Sun Studio C++ compiler... no
checking whether we are using clang C++ compiler... no
checking whether we are using gcc >= 4 C++ compiler... yes
checking whether to enable debugging information... no
checking whether to enable code coverage... no
checking if TIPC is available and supports nonblocking connect... no
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking whether C++ compiler supports -fvisibility=hidden... yes
checking whether C++ compiler supports dso visibility... yes
checking for asciidoc... no
checking for xmlto... no
configure: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed.
configure: WARNING: Documentation will not be built and manual pages will not be installed.
checking whether to build documentation... no
checking whether to install manpages... no
checking for suitable polling system... using epoll
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.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 ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking whether SO_PEERCRED is declared... yes
checking whether LOCAL_PEERCRED is declared... no
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 size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint32_t... yes
checking for working volatile... yes
checking for sodium... yes
checking "with_norm_ext = no"... checking how to enable additional warnings for C++ compiler... -Wall
checking how to turn warnings to errors in C++ compiler... -Werror
checking how to enable strict standards compliance in C++ compiler... -pedantic
checking whether compiler supports __atomic_Xxx intrinsics... no
checking return type of signal handlers... void
checking for perror... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for memset... yes
checking for socket... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for fork... yes
checking for posix_memalign... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether SOCK_CLOEXEC is supported... yes
checking whether SO_KEEPALIVE is supported... yes
checking whether TCP_KEEPCNT is supported... yes
checking whether TCP_KEEPIDLE is supported... yes
checking whether TCP_KEEPINTVL is supported... yes
checking whether TCP_KEEPALIVE is supported... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/libzmq.pc
config.status: creating doc/Makefile
config.status: creating builds/Makefile
config.status: creating builds/msvc/Makefile
config.status: creating builds/redhat/zeromq.spec
config.status: creating src/platform.hpp
config.status: src/platform.hpp is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

[user@host libzmq]$ make
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure sodium_LIBS=-L/lustre/medicine/home/user/software/usr/local/lib sodium_CFLAGS=-I/lustre/medicine/home/user/software/usr/local/include --prefix=/lustre/medicine/home/user/software/usr/local --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... (cached) gawk
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... no
checking for asciidoc... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking how to run the C preprocessor... gcc -std=gnu99 -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 whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C compiler works... yes
checking whether we are using Intel C compiler... no
checking whether we are using Sun Studio C compiler... no
checking whether we are using clang C compiler... no
checking whether we are using gcc >= 4 C compiler... yes
checking whether the C++ compiler works... yes
checking whether we are using Intel C++ compiler... no
checking whether we are using Sun Studio C++ compiler... no
checking whether we are using clang C++ compiler... no
checking whether we are using gcc >= 4 C++ compiler... yes
checking whether to enable debugging information... no
checking whether to enable code coverage... no
checking if TIPC is available and supports nonblocking connect... no
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking whether C++ compiler supports -fvisibility=hidden... yes
checking whether C++ compiler supports dso visibility... yes
checking for asciidoc... no
checking for xmlto... no
configure: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed.
configure: WARNING: Documentation will not be built and manual pages will not be installed.
checking whether to build documentation... no
checking whether to install manpages... no
checking for suitable polling system... using epoll
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.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 ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking whether SO_PEERCRED is declared... yes
checking whether LOCAL_PEERCRED is declared... no
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 size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint32_t... yes
checking for working volatile... yes
checking for sodium... yes
checking "with_norm_ext = no"... checking how to enable additional warnings for C++ compiler... -Wall
checking how to turn warnings to errors in C++ compiler... -Werror
checking how to enable strict standards compliance in C++ compiler... -pedantic
checking whether compiler supports __atomic_Xxx intrinsics... no
checking return type of signal handlers... void
checking for perror... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for memset... yes
checking for socket... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for fork... yes
checking for posix_memalign... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether SOCK_CLOEXEC is supported... yes
checking whether SO_KEEPALIVE is supported... yes
checking whether TCP_KEEPCNT is supported... yes
checking whether TCP_KEEPIDLE is supported... yes
checking whether TCP_KEEPINTVL is supported... yes
checking whether TCP_KEEPALIVE is supported... no
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating src/libzmq.pc
config.status: creating doc/Makefile
config.status: creating builds/Makefile
config.status: creating builds/msvc/Makefile
config.status: creating builds/redhat/zeromq.spec
config.status: creating src/platform.hpp
config.status: src/platform.hpp is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in doc
make[1]: Entering directory `/lustre/medicine/home/user/software/c/libzmq/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/lustre/medicine/home/user/software/c/libzmq/doc'
make[1]: Entering directory `/lustre/medicine/home/user/software/c/libzmq'
  CXX    src/src_libzmq_la-address.lo
  CXX    src/src_libzmq_la-client.lo
  CXX    src/src_libzmq_la-clock.lo
  CXX    src/src_libzmq_la-ctx.lo
  CXX    src/src_libzmq_la-curve_client.lo
  CXX    src/src_libzmq_la-curve_server.lo
  CXX    src/src_libzmq_la-dealer.lo
  CXX    src/src_libzmq_la-devpoll.lo
  CXX    src/src_libzmq_la-dist.lo
  CXX    src/src_libzmq_la-epoll.lo
  CXX    src/src_libzmq_la-err.lo
  CXX    src/src_libzmq_la-fq.lo
  CXX    src/src_libzmq_la-gssapi_mechanism_base.lo
  CXX    src/src_libzmq_la-gssapi_client.lo
  CXX    src/src_libzmq_la-gssapi_server.lo
  CXX    src/src_libzmq_la-io_object.lo
  CXX    src/src_libzmq_la-io_thread.lo
  CXX    src/src_libzmq_la-ip.lo
  CXX    src/src_libzmq_la-ipc_address.lo
  CXX    src/src_libzmq_la-ipc_connecter.lo
  CXX    src/src_libzmq_la-ipc_listener.lo
  CXX    src/src_libzmq_la-kqueue.lo
  CXX    src/src_libzmq_la-lb.lo
  CXX    src/src_libzmq_la-mailbox.lo
  CXX    src/src_libzmq_la-mailbox_safe.lo
  CXX    src/src_libzmq_la-mechanism.lo
  CXX    src/src_libzmq_la-metadata.lo
  CXX    src/src_libzmq_la-msg.lo
  CXX    src/src_libzmq_la-mtrie.lo
  CXX    src/src_libzmq_la-norm_engine.lo
  CXX    src/src_libzmq_la-null_mechanism.lo
  CXX    src/src_libzmq_la-object.lo
  CXX    src/src_libzmq_la-options.lo
  CXX    src/src_libzmq_la-own.lo
  CXX    src/src_libzmq_la-pair.lo
  CXX    src/src_libzmq_la-pgm_receiver.lo
  CXX    src/src_libzmq_la-pgm_sender.lo
  CXX    src/src_libzmq_la-pgm_socket.lo
  CXX    src/src_libzmq_la-pipe.lo
  CXX    src/src_libzmq_la-plain_client.lo
  CXX    src/src_libzmq_la-plain_server.lo
  CXX    src/src_libzmq_la-poll.lo
  CXX    src/src_libzmq_la-poller_base.lo
  CXX    src/src_libzmq_la-proxy.lo
  CXX    src/src_libzmq_la-pub.lo
  CXX    src/src_libzmq_la-pull.lo
  CXX    src/src_libzmq_la-push.lo
  CXX    src/src_libzmq_la-random.lo
  CXX    src/src_libzmq_la-raw_decoder.lo
  CXX    src/src_libzmq_la-raw_encoder.lo
  CXX    src/src_libzmq_la-reaper.lo
  CXX    src/src_libzmq_la-rep.lo
  CXX    src/src_libzmq_la-req.lo
  CXX    src/src_libzmq_la-router.lo
  CXX    src/src_libzmq_la-select.lo
  CXX    src/src_libzmq_la-server.lo
  CXX    src/src_libzmq_la-session_base.lo
  CXX    src/src_libzmq_la-signaler.lo
  CXX    src/src_libzmq_la-socket_base.lo
  CXX    src/src_libzmq_la-socks.lo
  CXX    src/src_libzmq_la-socks_connecter.lo
  CXX    src/src_libzmq_la-stream.lo
  CXX    src/src_libzmq_la-stream_engine.lo
  CXX    src/src_libzmq_la-sub.lo
  CXX    src/src_libzmq_la-tcp.lo
  CXX    src/src_libzmq_la-tcp_address.lo
  CXX    src/src_libzmq_la-tcp_connecter.lo
  CXX    src/src_libzmq_la-tcp_listener.lo
  CXX    src/src_libzmq_la-thread.lo
  CXX    src/src_libzmq_la-tipc_address.lo
  CXX    src/src_libzmq_la-tipc_connecter.lo
  CXX    src/src_libzmq_la-tipc_listener.lo
  CXX    src/src_libzmq_la-trie.lo
  CXX    src/src_libzmq_la-v1_decoder.lo
  CXX    src/src_libzmq_la-v2_decoder.lo
  CXX    src/src_libzmq_la-v1_encoder.lo
  CXX    src/src_libzmq_la-v2_encoder.lo
  CXX    src/src_libzmq_la-xpub.lo
  CXX    src/src_libzmq_la-xsub.lo
  CXX    src/src_libzmq_la-zmq.lo
  CXX    src/src_libzmq_la-zmq_utils.lo
  CXX    src/src_libzmq_la-decoder_allocators.lo
  CXXLD  src/libzmq.la
  CXX    tools/curve_keygen.o
  CXXLD  tools/curve_keygen
src/.libs/libzmq.so: undefined reference to `crypto_secretbox_open'
src/.libs/libzmq.so: undefined reference to `crypto_box_beforenm'
src/.libs/libzmq.so: undefined reference to `crypto_secretbox'
src/.libs/libzmq.so: undefined reference to `crypto_box'
src/.libs/libzmq.so: undefined reference to `crypto_box_keypair'
src/.libs/libzmq.so: undefined reference to `sodium_init'
src/.libs/libzmq.so: undefined reference to `crypto_box_open'
src/.libs/libzmq.so: undefined reference to `randombytes_close'
src/.libs/libzmq.so: undefined reference to `crypto_box_open_afternm'
src/.libs/libzmq.so: undefined reference to `randombytes'
src/.libs/libzmq.so: undefined reference to `crypto_box_afternm'
collect2: ld returned 1 exit status
make[1]: *** [tools/curve_keygen] Error 1
make[1]: Leaving directory `/lustre/medicine/home/user/software/c/libzmq'
make: *** [all-recursive] Error 1
xaqq commented 9 years ago

Looks like you are missing libsodium.

On Mon, Aug 24, 2015 at 1:52 PM, Daniel Vera notifications@github.com wrote:

Having trouble compiling libzmq. Any help would be appreciated:

[user@host libzmq]$ uname -a Linux host 2.6.32-431.11.2.el6.x86_64 #1 SMP Mon Mar 3 13:32:45 EST 2014 x86_64 x86_64 x86_64 GNU/Linux [user@host libzmq]$ [user@host libzmq]$ [user@host libzmq]$ ./autogen.sh autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I config --force -I configconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: configure.ac: tracingconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR,config'. libtoolize: copying file config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR,config'. libtoolize: copying file config/libtool.m4' libtoolize: copying fileconfig/ltoptions.m4' libtoolize: copying file config/ltsugar.m4' libtoolize: copying fileconfig/ltversion.m4' libtoolize: copying file config/lt~obsolete.m4'configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: running: /usr/bin/autoconf --include=config --forceconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: running: /usr/bin/autoheader --include=config --forceconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: running: automake --add-missing --copy --force-missingconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... config/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top levelconfigure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... config/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... config/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... config/libtool.m4:785: _LT_LANG is expanded from... config/libtool.m4:768: LT_LANG is expanded from... config/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... config/libtool.m4:138: _LT_SETUP is expanded from... config/libtool.m4:67: LT_INIT is expanded from... config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:62: the top level autoreconf: Leaving directory.'

[user@host libzmq]$ ./configure sodium_LIBS="-L/lustre/medicine/home/user/software/usr/local/lib" sodium_CFLAGS="-I/lustre/medicine/home/user/software/usr/local/include" --prefix=/lustre/medicine/home/user/software/usr/local checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... (cached) gawk checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xmlto... no checking for asciidoc... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes 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... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking how to run the C preprocessor... gcc -std=gnu99 -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 whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the C compiler works... yes checking whether we are using Intel C compiler... no checking whether we are using Sun Studio C compiler... no checking whether we are using clang C compiler... no checking whether we are using gcc >= 4 C compiler... yes checking whether the C++ compiler works... yes checking whether we are using Intel C++ compiler... no checking whether we are using Sun Studio C++ compiler... no checking whether we are using clang C++ compiler... no checking whether we are using gcc >= 4 C++ compiler... yes checking whether to enable debugging information... no checking whether to enable code coverage... no checking if TIPC is available and supports nonblocking connect... no checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking whether C++ compiler supports -fvisibility=hidden... yes checking whether C++ compiler supports dso visibility... yes checking for asciidoc... no checking for xmlto... no configure: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. configure: WARNING: Documentation will not be built and manual pages will not be installed. checking whether to build documentation... no checking whether to install manpages... no checking for suitable polling system... using epoll checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.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 ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking whether SO_PEERCRED is declared... yes checking whether LOCAL_PEERCRED is declared... no 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 size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint32_t... yes checking for working volatile... yes checking for sodium... yes checking "with_norm_ext = no"... checking how to enable additional warnings for C++ compiler... -Wall checking how to turn warnings to errors in C++ compiler... -Werror checking how to enable strict standards compliance in C++ compiler... -pedantic checking whether compiler supports __atomic_Xxx intrinsics... no checking return type of signal handlers... void checking for perror... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for memset... yes checking for socket... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for fork... yes checking for posix_memalign... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether SOCK_CLOEXEC is supported... yes checking whether SO_KEEPALIVE is supported... yes checking whether TCP_KEEPCNT is supported... yes checking whether TCP_KEEPIDLE is supported... yes checking whether TCP_KEEPINTVL is supported... yes checking whether TCP_KEEPALIVE is supported... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/libzmq.pc config.status: creating doc/Makefile config.status: creating builds/Makefile config.status: creating builds/msvc/Makefile config.status: creating builds/redhat/zeromq.spec config.status: creating src/platform.hpp config.status: src/platform.hpp is unchanged config.status: executing depfiles commands config.status: executing libtool commands

[user@host libzmq]$ make /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure sodium_LIBS=-L/lustre/medicine/home/user/software/usr/local/lib sodium_CFLAGS=-I/lustre/medicine/home/user/software/usr/local/include --prefix=/lustre/medicine/home/user/software/usr/local --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... (cached) gawk checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xmlto... no checking for asciidoc... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes 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... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking how to run the C preprocessor... gcc -std=gnu99 -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 whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the C compiler works... yes checking whether we are using Intel C compiler... no checking whether we are using Sun Studio C compiler... no checking whether we are using clang C compiler... no checking whether we are using gcc >= 4 C compiler... yes checking whether the C++ compiler works... yes checking whether we are using Intel C++ compiler... no checking whether we are using Sun Studio C++ compiler... no checking whether we are using clang C++ compiler... no checking whether we are using gcc >= 4 C++ compiler... yes checking whether to enable debugging information... no checking whether to enable code coverage... no checking if TIPC is available and supports nonblocking connect... no checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking whether C++ compiler supports -fvisibility=hidden... yes checking whether C++ compiler supports dso visibility... yes checking for asciidoc... no checking for xmlto... no configure: WARNING: You are building an unreleased version of 0MQ and asciidoc or xmlto are not installed. configure: WARNING: Documentation will not be built and manual pages will not be installed. checking whether to build documentation... no checking whether to install manpages... no checking for suitable polling system... using epoll checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.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 ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking whether SO_PEERCRED is declared... yes checking whether LOCAL_PEERCRED is declared... no 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 size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint32_t... yes checking for working volatile... yes checking for sodium... yes checking "with_norm_ext = no"... checking how to enable additional warnings for C++ compiler... -Wall checking how to turn warnings to errors in C++ compiler... -Werror checking how to enable strict standards compliance in C++ compiler... -pedantic checking whether compiler supports __atomic_Xxx intrinsics... no checking return type of signal handlers... void checking for perror... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for memset... yes checking for socket... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for fork... yes checking for posix_memalign... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether SOCK_CLOEXEC is supported... yes checking whether SO_KEEPALIVE is supported... yes checking whether TCP_KEEPCNT is supported... yes checking whether TCP_KEEPIDLE is supported... yes checking whether TCP_KEEPINTVL is supported... yes checking whether TCP_KEEPALIVE is supported... no configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: creating src/libzmq.pc config.status: creating doc/Makefile config.status: creating builds/Makefile config.status: creating builds/msvc/Makefile config.status: creating builds/redhat/zeromq.spec config.status: creating src/platform.hpp config.status: src/platform.hpp is unchanged config.status: executing depfiles commands config.status: executing libtool commands Making all in doc make[1]: Entering directory /lustre/medicine/home/user/software/c/libzmq/doc' make[1]: Nothing to be done forall'. make[1]: Leaving directory /lustre/medicine/home/user/software/c/libzmq/doc' make[1]: Entering directory/lustre/medicine/home/user/software/c/libzmq' CXX src/src_libzmq_la-address.lo CXX src/src_libzmq_la-client.lo CXX src/src_libzmq_la-clock.lo CXX src/src_libzmq_la-ctx.lo CXX src/src_libzmq_la-curve_client.lo CXX src/src_libzmq_la-curve_server.lo CXX src/src_libzmq_la-dealer.lo CXX src/src_libzmq_la-devpoll.lo CXX src/src_libzmq_la-dist.lo CXX src/src_libzmq_la-epoll.lo CXX src/src_libzmq_la-err.lo CXX src/src_libzmq_la-fq.lo CXX src/src_libzmq_la-gssapi_mechanism_base.lo CXX src/src_libzmq_la-gssapi_client.lo CXX src/src_libzmq_la-gssapi_server.lo CXX src/src_libzmq_la-io_object.lo CXX src/src_libzmq_la-io_thread.lo CXX src/src_libzmq_la-ip.lo CXX src/src_libzmq_la-ipc_address.lo CXX src/src_libzmq_la-ipc_connecter.lo CXX src/src_libzmq_la-ipc_listener.lo CXX src/src_libzmq_la-kqueue.lo CXX src/src_libzmq_la-lb.lo CXX src/src_libzmq_la-mailbox.lo CXX src/src_libzmq_la-mailbox_safe.lo CXX src/src_libzmq_la-mechanism.lo CXX src/src_libzmq_la-metadata.lo CXX src/src_libzmq_la-msg.lo CXX src/src_libzmq_la-mtrie.lo CXX src/src_libzmq_la-norm_engine.lo CXX src/src_libzmq_la-null_mechanism.lo CXX src/src_libzmq_la-object.lo CXX src/src_libzmq_la-options.lo CXX src/src_libzmq_la-own.lo CXX src/src_libzmq_la-pair.lo CXX src/src_libzmq_la-pgm_receiver.lo CXX src/src_libzmq_la-pgm_sender.lo CXX src/src_libzmq_la-pgm_socket.lo CXX src/src_libzmq_la-pipe.lo CXX src/src_libzmq_la-plain_client.lo CXX src/src_libzmq_la-plain_server.lo CXX src/src_libzmq_la-poll.lo CXX src/src_libzmq_la-poller_base.lo CXX src/src_libzmq_la-proxy.lo CXX src/src_libzmq_la-pub.lo CXX src/src_libzmq_la-pull.lo CXX src/src_libzmq_la-push.lo CXX src/src_libzmq_la-random.lo CXX src/src_libzmq_la-raw_decoder.lo CXX src/src_libzmq_la-raw_encoder.lo CXX src/src_libzmq_la-reaper.lo CXX src/src_libzmq_la-rep.lo CXX src/src_libzmq_la-req.lo CXX src/src_libzmq_la-router.lo CXX src/src_libzmq_la-select.lo CXX src/src_libzmq_la-server.lo CXX src/src_libzmq_la-session_base.lo CXX src/src_libzmq_la-signaler.lo CXX src/src_libzmq_la-socket_base.lo CXX src/src_libzmq_la-socks.lo CXX src/src_libzmq_la-socks_connecter.lo CXX src/src_libzmq_la-stream.lo CXX src/src_libzmq_la-stream_engine.lo CXX src/src_libzmq_la-sub.lo CXX src/src_libzmq_la-tcp.lo CXX src/src_libzmq_la-tcp_address.lo CXX src/src_libzmq_la-tcp_connecter.lo CXX src/src_libzmq_la-tcp_listener.lo CXX src/src_libzmq_la-thread.lo CXX src/src_libzmq_la-tipc_address.lo CXX src/src_libzmq_la-tipc_connecter.lo CXX src/src_libzmq_la-tipc_listener.lo CXX src/src_libzmq_la-trie.lo CXX src/src_libzmq_la-v1_decoder.lo CXX src/src_libzmq_la-v2_decoder.lo CXX src/src_libzmq_la-v1_encoder.lo CXX src/src_libzmq_la-v2_encoder.lo CXX src/src_libzmq_la-xpub.lo CXX src/src_libzmq_la-xsub.lo CXX src/src_libzmq_la-zmq.lo CXX src/src_libzmq_la-zmq_utils.lo CXX src/src_libzmq_la-decoder_allocators.lo CXXLD src/libzmq.la CXX tools/curve_keygen.o CXXLD tools/curve_keygen src/.libs/libzmq.so: undefined reference to crypto_secretbox_open' src/.libs/libzmq.so: undefined reference tocrypto_box_beforenm' src/.libs/libzmq.so: undefined reference to crypto_secretbox' src/.libs/libzmq.so: undefined reference tocrypto_box' src/.libs/libzmq.so: undefined reference to crypto_box_keypair' src/.libs/libzmq.so: undefined reference tosodium_init' src/.libs/libzmq.so: undefined reference to crypto_box_open' src/.libs/libzmq.so: undefined reference torandombytes_close' src/.libs/libzmq.so: undefined reference to crypto_box_open_afternm' src/.libs/libzmq.so: undefined reference torandombytes' src/.libs/libzmq.so: undefined reference to crypto_box_afternm' collect2: ld returned 1 exit status make[1]: *** [tools/curve_keygen] Error 1 make[1]: Leaving directory/lustre/medicine/home/user/software/c/libzmq' make: *\ [all-recursive] Error 1

— Reply to this email directly or view it on GitHub https://github.com/zeromq/libzmq/issues/1549.

Kapp Arnaud - Xaqq

dvera commented 9 years ago

Note that this does NOT happen with 4.0.7 and 4.0.7 builds without error.

Downchuck commented 9 years ago

The configure parameters are not carrying through to curve_keygen -- I don't see an easy way to build libzmq without building the bin files (another issue).

sodium_LIBS=../libs sodium_CFLAGS="-I../libsodium-1.0.3/src/libsodium/include" ./configure --with-libsodium

Work, builds the lib, stops at curve_keygen as it won't find the shared libraries. I've tried various environment parameters with no success.

bluca commented 7 years ago

Closing as a configure knob to disable curve_keygen was added