[zeromq-dev] Mountain Lion build issues: strndup error, and 'make check' gave "1 of 20 tests failed" on test_shutdown_stress
Peter Jurgensen
phjurgensen at gmail.com
Mon Sep 2 23:06:19 CEST 2013
Hi,
This is my first exercise with 0MQ. I've read the guide, and watched a bunch of video lectures/interviews on 0MQ. I didn't expect these bugs.
I downloaded 3.2.3. This is on a new clean install on Mountain Lion. After a ./configure, then make it produced:
test_disconnect_inproc.cpp: In function ‘int main(int, char**)’:
test_disconnect_inproc.cpp:48: error: ‘strndup’ was not declared in this scope
test_disconnect_inproc.cpp:52: error: ‘strndup’ was not declared in this scope
test_disconnect_inproc.cpp:72: error: ‘strndup’ was not declared in this scope
make[1]: *** [test_disconnect_inproc.o] Error 1
make: *** [all-recursive] Error 1
It looked like debugging code, so I commented it out, then it built and I installed it with sudo make install.
I then did make check. (Yea, I should have done the make check before the make install.)
Mountain Lion 'make check' gave "1 of 20 tests failed".
arch:~/Downloads/zeromq-3.2.3$ make check
...
test_shutdown_stress running...
Invalid argument (tcp.cpp:52)
/bin/sh: line 1: 8609 Abort trap: 6 ${dir}$tst
FAIL: test_shutdown_stress
…
============================================
1 of 20 tests failed
Please report to zeromq-dev at lists.zeromq.org
============================================
make[2]: *** [check-TESTS] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
I read the README and the INSTALL files. I searched the jira bugs. No joy.
Peter
More information about the zeromq-dev
mailing list