Fails to compile on Mac os X (1.7.4) #43

Closed
DBarney opened this Issue Aug 20, 2012 · 3 comments

2 participants

@DBarney

erl -version
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.9

uname -a
Darwin Daniels-MacBook.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:33:05 PDT 2012; root:xnu-1699.26.8~1/RELEASE_I386 i386

and now for the output of the script

==> erlzmq (compile)
Cloning into ../deps/zeromq2...
v2.1.11
Note: checking out 'v2.1.11'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 73f167e... Updated NEWS for 2.1.11
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.in: tracing
autoreconf: configure.in: subdirectory foreign/openpgm/build-staging/openpgm/pgm/ not present
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
glibtoolize: copying file `config/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.
glibtoolize: copying file `config/libtool.m4'
glibtoolize: copying file `config/ltoptions.m4'
glibtoolize: copying file `config/ltsugar.m4'
glibtoolize: copying file `config/ltversion.m4'
glibtoolize: copying file `config/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --include=config --force
autoreconf: running: /usr/bin/autoheader --include=config --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.in:52: installing `config/config.sub'
configure.in:44: installing `config/compile'
configure.in:14: installing `config/missing'
configure.in:14: installing `config/install-sh'
configure.in:52: installing `config/config.guess'
perf/Makefile.am: installing `config/depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether cc -std=gnu99 and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... (cached) awk
checking for xmlto... no
checking for asciidoc... no
checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /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 cc -std=gnu99... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/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 output from cc -std=gnu99 object... ok
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... cc -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 for objdir... .libs
checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if cc -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if cc -std=gnu99 static flag -static works... no
checking if cc -std=gnu99 supports -c -o file.o... yes
checking if cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu99 linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.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 how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking whether the c++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fno-common -DPIC
checking if c++ PIC flag -fno-common -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.0 dyld
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 for pthread_create in -lpthread... yes
checking host system type... (cached) i386-apple-darwin11.4.0
checking whether C++ compiler supports -Wno-uninitialized... 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 ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... 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 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 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 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 ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.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 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 how to enable additional warnings for C++ compiler... -Wall
checking return type of signal handlers... void
checking for perror... yes
checking for gettimeofday... yes
checking for clock_gettime... no
checking for memset... yes
checking for socket... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether SOCK_CLOEXEC is supported... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating perf/Makefile
config.status: creating src/libzmq.pc
config.status: creating builds/msvc/Makefile
config.status: creating tests/Makefile
config.status: creating foreign/openpgm/Makefile
config.status: creating builds/redhat/zeromq.spec
config.status: creating src/platform.hpp
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
make  all-am
[A BUNCH OF THINGS BEING COMPILED THAT WORK FINE.....]
mv -f .deps/libzmq_la-zmq_init.Tpo .deps/libzmq_la-zmq_init.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.   -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE  -fvisibility=hidden  -g -O2 -MT libzmq_la-zmq_listener.lo -MD -MP -MF .deps/libzmq_la-zmq_listener.Tpo -c -o libzmq_la-zmq_listener.lo `test -f 'zmq_listener.cpp' || echo './'`zmq_listener.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE -fvisibility=hidden -g -O2 -MT libzmq_la-zmq_listener.lo -MD -MP -MF .deps/libzmq_la-zmq_listener.Tpo -c zmq_listener.cpp  -fno-common -DPIC -o .libs/libzmq_la-zmq_listener.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE -fvisibility=hidden -g -O2 -MT libzmq_la-zmq_listener.lo -MD -MP -MF .deps/libzmq_la-zmq_listener.Tpo -c zmq_listener.cpp -o libzmq_la-zmq_listener.o >/dev/null 2>&1
mv -f .deps/libzmq_la-zmq_listener.Tpo .deps/libzmq_la-zmq_listener.Plo
/bin/sh ../libtool --tag=CXX   --mode=link c++ -fvisibility=hidden  -g -O2 -version-info 1:0:0   -o libzmq.la -rpath /usr/local/lib libzmq_la-clock.lo libzmq_la-command.lo libzmq_la-ctx.lo libzmq_la-connect_session.lo libzmq_la-decoder.lo libzmq_la-device.lo libzmq_la-devpoll.lo libzmq_la-dist.lo libzmq_la-encoder.lo libzmq_la-epoll.lo libzmq_la-err.lo libzmq_la-fq.lo libzmq_la-io_object.lo libzmq_la-io_thread.lo libzmq_la-ip.lo libzmq_la-kqueue.lo libzmq_la-lb.lo libzmq_la-mailbox.lo libzmq_la-named_session.lo libzmq_la-object.lo libzmq_la-options.lo libzmq_la-own.lo libzmq_la-pair.lo libzmq_la-pgm_receiver.lo libzmq_la-pgm_sender.lo libzmq_la-pgm_socket.lo libzmq_la-pipe.lo libzmq_la-poll.lo libzmq_la-poller_base.lo libzmq_la-pull.lo libzmq_la-push.lo libzmq_la-reaper.lo libzmq_la-pub.lo libzmq_la-rep.lo libzmq_la-req.lo libzmq_la-select.lo libzmq_la-session.lo libzmq_la-signaler.lo libzmq_la-socket_base.lo libzmq_la-sub.lo libzmq_la-swap.lo libzmq_la-tcp_connecter.lo libzmq_la-tcp_listener.lo libzmq_la-tcp_socket.lo libzmq_la-thread.lo libzmq_la-transient_session.lo libzmq_la-trie.lo libzmq_la-uuid.lo libzmq_la-xpub.lo libzmq_la-xrep.lo libzmq_la-xreq.lo libzmq_la-xsub.lo libzmq_la-zmq.lo libzmq_la-zmq_connecter.lo libzmq_la-zmq_engine.lo libzmq_la-zmq_init.lo libzmq_la-zmq_listener.lo  -lpthread 
libtool: link: c++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libzmq.1.dylib  .libs/libzmq_la-clock.o .libs/libzmq_la-command.o .libs/libzmq_la-ctx.o .libs/libzmq_la-connect_session.o .libs/libzmq_la-decoder.o .libs/libzmq_la-device.o .libs/libzmq_la-devpoll.o .libs/libzmq_la-dist.o .libs/libzmq_la-encoder.o .libs/libzmq_la-epoll.o .libs/libzmq_la-err.o .libs/libzmq_la-fq.o .libs/libzmq_la-io_object.o .libs/libzmq_la-io_thread.o .libs/libzmq_la-ip.o .libs/libzmq_la-kqueue.o .libs/libzmq_la-lb.o .libs/libzmq_la-mailbox.o .libs/libzmq_la-named_session.o .libs/libzmq_la-object.o .libs/libzmq_la-options.o .libs/libzmq_la-own.o .libs/libzmq_la-pair.o .libs/libzmq_la-pgm_receiver.o .libs/libzmq_la-pgm_sender.o .libs/libzmq_la-pgm_socket.o .libs/libzmq_la-pipe.o .libs/libzmq_la-poll.o .libs/libzmq_la-poller_base.o .libs/libzmq_la-pull.o .libs/libzmq_la-push.o .libs/libzmq_la-reaper.o .libs/libzmq_la-pub.o .libs/libzmq_la-rep.o .libs/libzmq_la-req.o .libs/libzmq_la-select.o .libs/libzmq_la-session.o .libs/libzmq_la-signaler.o .libs/libzmq_la-socket_base.o .libs/libzmq_la-sub.o .libs/libzmq_la-swap.o .libs/libzmq_la-tcp_connecter.o .libs/libzmq_la-tcp_listener.o .libs/libzmq_la-tcp_socket.o .libs/libzmq_la-thread.o .libs/libzmq_la-transient_session.o .libs/libzmq_la-trie.o .libs/libzmq_la-uuid.o .libs/libzmq_la-xpub.o .libs/libzmq_la-xrep.o .libs/libzmq_la-xreq.o .libs/libzmq_la-xsub.o .libs/libzmq_la-zmq.o .libs/libzmq_la-zmq_connecter.o .libs/libzmq_la-zmq_engine.o .libs/libzmq_la-zmq_init.o .libs/libzmq_la-zmq_listener.o   -lpthread    -install_name  /usr/local/lib/libzmq.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "libzmq.dylib" && ln -s "libzmq.1.dylib" "libzmq.dylib")
libtool: link: (cd ".libs" && rm -f "libzmq.1.0.0.dylib" && ln -s "libzmq.1.dylib" "libzmq.1.0.0.dylib")
libtool: link: ar cru .libs/libzmq.a  libzmq_la-clock.o libzmq_la-command.o libzmq_la-ctx.o libzmq_la-connect_session.o libzmq_la-decoder.o libzmq_la-device.o libzmq_la-devpoll.o libzmq_la-dist.o libzmq_la-encoder.o libzmq_la-epoll.o libzmq_la-err.o libzmq_la-fq.o libzmq_la-io_object.o libzmq_la-io_thread.o libzmq_la-ip.o libzmq_la-kqueue.o libzmq_la-lb.o libzmq_la-mailbox.o libzmq_la-named_session.o libzmq_la-object.o libzmq_la-options.o libzmq_la-own.o libzmq_la-pair.o libzmq_la-pgm_receiver.o libzmq_la-pgm_sender.o libzmq_la-pgm_socket.o libzmq_la-pipe.o libzmq_la-poll.o libzmq_la-poller_base.o libzmq_la-pull.o libzmq_la-push.o libzmq_la-reaper.o libzmq_la-pub.o libzmq_la-rep.o libzmq_la-req.o libzmq_la-select.o libzmq_la-session.o libzmq_la-signaler.o libzmq_la-socket_base.o libzmq_la-sub.o libzmq_la-swap.o libzmq_la-tcp_connecter.o libzmq_la-tcp_listener.o libzmq_la-tcp_socket.o libzmq_la-thread.o libzmq_la-transient_session.o libzmq_la-trie.o libzmq_la-uuid.o libzmq_la-xpub.o libzmq_la-xrep.o libzmq_la-xreq.o libzmq_la-xsub.o libzmq_la-zmq.o libzmq_la-zmq_connecter.o libzmq_la-zmq_engine.o libzmq_la-zmq_init.o libzmq_la-zmq_listener.o
/usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
/usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
/usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no symbols
/usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no symbols
/usr/bin/ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no symbols
libtool: link: ranlib .libs/libzmq.a
ranlib: file: .libs/libzmq.a(libzmq_la-devpoll.o) has no symbols
ranlib: file: .libs/libzmq.a(libzmq_la-epoll.o) has no symbols
ranlib: file: .libs/libzmq.a(libzmq_la-pgm_receiver.o) has no symbols
ranlib: file: .libs/libzmq.a(libzmq_la-pgm_sender.o) has no symbols
ranlib: file: .libs/libzmq.a(libzmq_la-pgm_socket.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libzmq.la" && ln -s "../libzmq.la" "libzmq.la" )
Making all in doc
make[3]: Nothing to be done for `all'.
Making all in perf
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT local_lat.o -MD -MP -MF .deps/local_lat.Tpo -c -o local_lat.o local_lat.cpp
mv -f .deps/local_lat.Tpo .deps/local_lat.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o local_lat local_lat.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/local_lat local_lat.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT remote_lat.o -MD -MP -MF .deps/remote_lat.Tpo -c -o remote_lat.o remote_lat.cpp
mv -f .deps/remote_lat.Tpo .deps/remote_lat.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o remote_lat remote_lat.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/remote_lat remote_lat.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT local_thr.o -MD -MP -MF .deps/local_thr.Tpo -c -o local_thr.o local_thr.cpp
mv -f .deps/local_thr.Tpo .deps/local_thr.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o local_thr local_thr.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/local_thr local_thr.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT remote_thr.o -MD -MP -MF .deps/remote_thr.Tpo -c -o remote_thr.o remote_thr.cpp
mv -f .deps/remote_thr.Tpo .deps/remote_thr.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o remote_thr remote_thr.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/remote_thr remote_thr.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT inproc_lat.o -MD -MP -MF .deps/inproc_lat.Tpo -c -o inproc_lat.o inproc_lat.cpp
mv -f .deps/inproc_lat.Tpo .deps/inproc_lat.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o inproc_lat inproc_lat.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/inproc_lat inproc_lat.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT inproc_thr.o -MD -MP -MF .deps/inproc_thr.Tpo -c -o inproc_thr.o inproc_thr.cpp
mv -f .deps/inproc_thr.Tpo .deps/inproc_thr.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o inproc_thr inproc_thr.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/inproc_thr inproc_thr.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
Making all in tests
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_pair_inproc.o -MD -MP -MF .deps/test_pair_inproc.Tpo -c -o test_pair_inproc.o test_pair_inproc.cpp
mv -f .deps/test_pair_inproc.Tpo .deps/test_pair_inproc.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_pair_inproc test_pair_inproc.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_pair_inproc test_pair_inproc.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_pair_tcp.o -MD -MP -MF .deps/test_pair_tcp.Tpo -c -o test_pair_tcp.o test_pair_tcp.cpp
mv -f .deps/test_pair_tcp.Tpo .deps/test_pair_tcp.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_pair_tcp test_pair_tcp.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_pair_tcp test_pair_tcp.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_reqrep_inproc.o -MD -MP -MF .deps/test_reqrep_inproc.Tpo -c -o test_reqrep_inproc.o test_reqrep_inproc.cpp
mv -f .deps/test_reqrep_inproc.Tpo .deps/test_reqrep_inproc.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_reqrep_inproc test_reqrep_inproc.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_reqrep_inproc test_reqrep_inproc.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_reqrep_tcp.o -MD -MP -MF .deps/test_reqrep_tcp.Tpo -c -o test_reqrep_tcp.o test_reqrep_tcp.cpp
mv -f .deps/test_reqrep_tcp.Tpo .deps/test_reqrep_tcp.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_reqrep_tcp test_reqrep_tcp.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_reqrep_tcp test_reqrep_tcp.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_hwm.o -MD -MP -MF .deps/test_hwm.Tpo -c -o test_hwm.o test_hwm.cpp
mv -f .deps/test_hwm.Tpo .deps/test_hwm.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_hwm test_hwm.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_hwm test_hwm.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_shutdown_stress.o -MD -MP -MF .deps/test_shutdown_stress.Tpo -c -o test_shutdown_stress.o test_shutdown_stress.cpp
mv -f .deps/test_shutdown_stress.Tpo .deps/test_shutdown_stress.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_shutdown_stress test_shutdown_stress.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_shutdown_stress test_shutdown_stress.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_pair_ipc.o -MD -MP -MF .deps/test_pair_ipc.Tpo -c -o test_pair_ipc.o test_pair_ipc.cpp
mv -f .deps/test_pair_ipc.Tpo .deps/test_pair_ipc.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_pair_ipc test_pair_ipc.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_pair_ipc test_pair_ipc.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
c++ -DHAVE_CONFIG_H -I. -I../src -I../include  -Wall -Wno-uninitialized -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE   -g -O2 -MT test_reqrep_ipc.o -MD -MP -MF .deps/test_reqrep_ipc.Tpo -c -o test_reqrep_ipc.o test_reqrep_ipc.cpp
mv -f .deps/test_reqrep_ipc.Tpo .deps/test_reqrep_ipc.Po
/bin/sh ../libtool --tag=CXX   --mode=link c++  -g -O2   -o test_reqrep_ipc test_reqrep_ipc.o ../src/libzmq.la -lpthread 
libtool: link: c++ -g -O2 -o .libs/test_reqrep_ipc test_reqrep_ipc.o -Wl,-bind_at_load  ../src/.libs/libzmq.1.0.0.dylib -lpthread
make[3]: Nothing to be done for `all-am'.
Compiled src/erlzmq_nif.erl
Compiled src/erlzmq.erl
Compiling c_src/erlzmq_nif.c
c_src/erlzmq_nif.c:24:17: error: zmq.h: No such file or directory
c_src/erlzmq_nif.c:70: error: expected specifier-qualifier-list before ‘zmq_msg_t’
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_context’:
c_src/erlzmq_nif.c:140: warning: implicit declaration of function ‘zmq_init’
c_src/erlzmq_nif.c:140: warning: assignment makes pointer from integer without a cast
c_src/erlzmq_nif.c:142: warning: implicit declaration of function ‘zmq_errno’
c_src/erlzmq_nif.c:147: warning: implicit declaration of function ‘zmq_socket’
c_src/erlzmq_nif.c:147: error: ‘ZMQ_PUSH’ undeclared (first use in this function)
c_src/erlzmq_nif.c:147: error: (Each undeclared identifier is reported only once
c_src/erlzmq_nif.c:147: error: for each function it appears in.)
c_src/erlzmq_nif.c:147: warning: assignment makes pointer from integer without a cast
c_src/erlzmq_nif.c:151: warning: implicit declaration of function ‘zmq_bind’
c_src/erlzmq_nif.c:152: warning: implicit declaration of function ‘zmq_close’
c_src/erlzmq_nif.c:154: warning: implicit declaration of function ‘zmq_term’
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_socket’:
c_src/erlzmq_nif.c:201: warning: assignment makes pointer from integer without a cast
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_connect’:
c_src/erlzmq_nif.c:273: warning: implicit declaration of function ‘zmq_connect’
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_setsockopt’:
c_src/erlzmq_nif.c:312: error: ‘ZMQ_HWM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:313: error: ‘ZMQ_AFFINITY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:314: error: ‘ZMQ_SNDBUF’ undeclared (first use in this function)
c_src/erlzmq_nif.c:315: error: ‘ZMQ_RCVBUF’ undeclared (first use in this function)
c_src/erlzmq_nif.c:323: error: ‘ZMQ_SWAP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:324: error: ‘ZMQ_RATE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:325: error: ‘ZMQ_RECOVERY_IVL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:326: error: ‘ZMQ_MCAST_LOOP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:334: error: ‘ZMQ_IDENTITY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:335: error: ‘ZMQ_SUBSCRIBE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:336: error: ‘ZMQ_UNSUBSCRIBE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:344: error: ‘ZMQ_LINGER’ undeclared (first use in this function)
c_src/erlzmq_nif.c:345: error: ‘ZMQ_RECONNECT_IVL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:346: error: ‘ZMQ_BACKLOG’ undeclared (first use in this function)
c_src/erlzmq_nif.c:358: warning: implicit declaration of function ‘zmq_setsockopt’
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_getsockopt’:
c_src/erlzmq_nif.c:391: error: ‘ZMQ_RCVMORE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:392: error: ‘ZMQ_SWAP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:393: error: ‘ZMQ_RATE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:394: error: ‘ZMQ_RECOVERY_IVL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:395: error: ‘ZMQ_RECOVERY_IVL_MSEC’ undeclared (first use in this function)
c_src/erlzmq_nif.c:396: error: ‘ZMQ_MCAST_LOOP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:399: warning: implicit declaration of function ‘zmq_getsockopt’
c_src/erlzmq_nif.c:408: error: ‘ZMQ_HWM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:409: error: ‘ZMQ_AFFINITY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:410: error: ‘ZMQ_SNDBUF’ undeclared (first use in this function)
c_src/erlzmq_nif.c:411: error: ‘ZMQ_RCVBUF’ undeclared (first use in this function)
c_src/erlzmq_nif.c:423: error: ‘ZMQ_IDENTITY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:437: error: ‘ZMQ_TYPE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:438: error: ‘ZMQ_LINGER’ undeclared (first use in this function)
c_src/erlzmq_nif.c:439: error: ‘ZMQ_RECONNECT_IVL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:440: error: ‘ZMQ_RECONNECT_IVL_MAX’ undeclared (first use in this function)
c_src/erlzmq_nif.c:441: error: ‘ZMQ_BACKLOG’ undeclared (first use in this function)
c_src/erlzmq_nif.c:442: error: ‘ZMQ_FD’ undeclared (first use in this function)
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_send’:
c_src/erlzmq_nif.c:477: warning: implicit declaration of function ‘zmq_msg_init_size’
c_src/erlzmq_nif.c:477: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:481: warning: implicit declaration of function ‘zmq_msg_data’
c_src/erlzmq_nif.c:481: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:481: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:481: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:481: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:481: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:481: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:481: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:481: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:486: warning: implicit declaration of function ‘zmq_send’
c_src/erlzmq_nif.c:486: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:487: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:490: error: ‘EAGAIN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:492: warning: implicit declaration of function ‘zmq_msg_close’
c_src/erlzmq_nif.c:492: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:506: error: ‘struct <anonymous>’ has no member named ‘pid’
c_src/erlzmq_nif.c:509: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:509: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:510: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:511: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:516: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:516: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:516: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:516: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:521: error: ‘ETERM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:527: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:542: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:546: warning: control reaches end of non-void function
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_recv’:
c_src/erlzmq_nif.c:567: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:567: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:568: warning: implicit declaration of function ‘zmq_msg_init’
c_src/erlzmq_nif.c:568: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:574: warning: implicit declaration of function ‘zmq_recv’
c_src/erlzmq_nif.c:574: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:579: error: ‘EAGAIN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:594: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:594: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:594: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:594: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:599: error: ‘ETERM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:622: warning: implicit declaration of function ‘zmq_msg_size’
c_src/erlzmq_nif.c:623: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:623: warning: passing argument 2 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:630: warning: control reaches end of non-void function
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_close’:
c_src/erlzmq_nif.c:648: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:648: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:649: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:654: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:654: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:654: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:654: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:681: warning: control reaches end of non-void function
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_term’:
c_src/erlzmq_nif.c:698: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:698: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:699: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:704: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:704: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:704: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:704: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:720: warning: control reaches end of non-void function
c_src/erlzmq_nif.c: In function ‘erlzmq_nif_version’:
c_src/erlzmq_nif.c:725: warning: implicit declaration of function ‘zmq_version’
c_src/erlzmq_nif.c: In function ‘polling_thread’:
c_src/erlzmq_nif.c:736: error: ‘ZMQ_PULL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:736: warning: initialization makes pointer from integer without a cast
c_src/erlzmq_nif.c:742: error: ‘zmq_pollitem_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:745: error: expected ‘;’ before ‘thread_socket_poll_zmq’
c_src/erlzmq_nif.c:746: error: ‘thread_socket_poll_zmq’ undeclared (first use in this function)
c_src/erlzmq_nif.c:760: warning: implicit declaration of function ‘zmq_poll’
c_src/erlzmq_nif.c:760: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:763: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:767: error: ‘item’ undeclared (first use in this function)
c_src/erlzmq_nif.c:767: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:770: error: ‘ZMQ_POLLIN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:777: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:777: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:778: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:784: error: ‘ZMQ_RCVMORE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:810: warning: passing argument 2 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:810: warning: passing argument 2 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:852: error: ‘ZMQ_POLLOUT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:858: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:860: error: ‘struct <anonymous>’ has no member named ‘pid’
c_src/erlzmq_nif.c:866: error: ‘struct <anonymous>’ has no member named ‘pid’
c_src/erlzmq_nif.c:871: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:883: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:884: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:885: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:895: warning: cast to pointer from integer of different size
c_src/erlzmq_nif.c:897: error: expected ‘;’ before ‘item_zmq’
c_src/erlzmq_nif.c:899: error: ‘item_zmq’ undeclared (first use in this function)
c_src/erlzmq_nif.c:906: error: expected ‘;’ before ‘item_zmq’
c_src/erlzmq_nif.c:917: error: expected expression before ‘)’ token
c_src/erlzmq_nif.c:930: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c:973: error: ‘struct <anonymous>’ has no member named ‘msg’
c_src/erlzmq_nif.c: In function ‘add_active_req’:
c_src/erlzmq_nif.c:1019: error: ‘zmq_msg_t’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1019: error: expected ‘;’ before ‘msg’
c_src/erlzmq_nif.c:1020: error: ‘msg’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1025: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:1025: warning: passing argument 1 of ‘__builtin_object_size’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:1025: warning: passing argument 1 of ‘__builtin___memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:1025: warning: passing argument 1 of ‘__inline_memcpy_chk’ makes pointer from integer without a cast
c_src/erlzmq_nif.c:1038: warning: control reaches end of non-void function
c_src/erlzmq_nif.c: In function ‘return_zmq_errno’:
c_src/erlzmq_nif.c:1043: error: ‘EPERM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1046: error: ‘ENOENT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1049: error: ‘ESRCH’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1052: error: ‘EINTR’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1055: error: ‘EIO’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1058: error: ‘ENXIO’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1061: error: ‘ENOEXEC’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1064: error: ‘EBADF’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1067: error: ‘ECHILD’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1070: error: ‘EDEADLK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1073: error: ‘ENOMEM’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1076: error: ‘EACCES’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1079: error: ‘EFAULT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1082: error: ‘ENOTBLK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1085: error: ‘EBUSY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1088: error: ‘EEXIST’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1091: error: ‘EXDEV’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1094: error: ‘ENODEV’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1097: error: ‘ENOTDIR’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1100: error: ‘EISDIR’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1103: error: ‘EINVAL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1106: error: ‘ENFILE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1109: error: ‘EMFILE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1112: error: ‘ETXTBSY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1115: error: ‘EFBIG’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1118: error: ‘ENOSPC’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1121: error: ‘ESPIPE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1124: error: ‘EROFS’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1127: error: ‘EMLINK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1130: error: ‘EPIPE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1133: error: ‘EAGAIN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1136: error: ‘EINPROGRESS’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1139: error: ‘EALREADY’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1142: error: ‘ENOTSOCK’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1145: error: ‘EDESTADDRREQ’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1148: error: ‘EMSGSIZE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1151: error: ‘EPROTOTYPE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1154: error: ‘ENOPROTOOPT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1157: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1160: error: ‘ESOCKTNOSUPPORT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1163: error: ‘ENOTSUP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1166: error: ‘EPFNOSUPPORT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1169: error: ‘EAFNOSUPPORT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1172: error: ‘EADDRINUSE’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1175: error: ‘EADDRNOTAVAIL’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1178: error: ‘ENETDOWN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1181: error: ‘ENETUNREACH’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1184: error: ‘ENETRESET’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1187: error: ‘ECONNABORTED’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1190: error: ‘ECONNRESET’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1193: error: ‘ENOBUFS’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1196: error: ‘EISCONN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1199: error: ‘ENOTCONN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1202: error: ‘ESHUTDOWN’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1205: error: ‘ETOOMANYREFS’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1208: error: ‘ETIMEDOUT’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1211: error: ‘ECONNREFUSED’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1214: error: ‘ELOOP’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1217: error: ‘ENAMETOOLONG’ undeclared (first use in this function)
c_src/erlzmq_nif.c:1220: error: ‘ZMQ_HAUSNUMERO’ undeclared (first use in this function)
ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/erlzmq_nif.c -o c_src/erlzmq_nif.o failed with error: 1
@yrashk
The ZeroMQ project member

Can't reproduce. Just in case, I updated included rebar in master, can you try again?

@DBarney

thats really odd, but that fixed it. why would your version of rebar work while mine didn't?

here is what rebar --version gives me:

rebar version: 2 date: 20120206_181248 vcs: git 28c44cb
@DBarney DBarney closed this Aug 20, 2012
@yrashk
The ZeroMQ project member

recent pull request enforced new rebar config parameter names. I presume that's the reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment