[zeromq-dev] ZeroMQ 3.2.3 fails to build on MinGW 4.7.2

M.S. Babaei info at babaei.net
Mon May 13 23:16:31 CEST 2013

Hi there,

I've been trying to build ZeroMQ-3.2.3 on MinGW using this guide:

3.2.3 fails to build with MinGW 4.7.2 bundled with Qt-5.0.2 while on the
other hand 3.2.2 builds just fine.

Any suggestions?

Making all in perf
mingw32-make[1]: Entering directory 'd:/dev-eps/deps/zeromq-3.2.3/perf'
  CXX    local_lat.o
  CXXLD  local_lat.exe
  CXX    remote_lat.o
  CXXLD  remote_lat.exe
  CXX    local_thr.o
  CXXLD  local_thr.exe
  CXX    remote_thr.o
  CXXLD  remote_thr.exe
  CXX    inproc_lat.o
  CXXLD  inproc_lat.exe
  CXX    inproc_thr.o
  CXXLD  inproc_thr.exe
mingw32-make[1]: Leaving directory 'd:/dev-eps/deps/zeromq-3.2.3/perf'
Making all in tests
mingw32-make[1]: Entering directory 'd:/dev-eps/deps/zeromq-3.2.3/tests'
  CXX    test_pair_inproc.o
  CXXLD  test_pair_inproc.exe
  CXX    test_pair_tcp.o
  CXXLD  test_pair_tcp.exe
  CXX    test_reqrep_inproc.o
  CXXLD  test_reqrep_inproc.exe
  CXX    test_reqrep_tcp.o
  CXXLD  test_reqrep_tcp.exe
  CXX    test_hwm.o
  CXXLD  test_hwm.exe
  CXX    test_reqrep_device.o
  CXXLD  test_reqrep_device.exe
  CXX    test_sub_forward.o
  CXXLD  test_sub_forward.exe
  CXX    test_invalid_rep.o
  CXXLD  test_invalid_rep.exe
  CXX    test_msg_flags.o
  CXXLD  test_msg_flags.exe
  CXX    test_connect_resolve.o
  CXXLD  test_connect_resolve.exe
  CXX    test_connect_delay.o
  CXXLD  test_connect_delay.exe
  CXX    test_last_endpoint.o
  CXXLD  test_last_endpoint.exe
  CXX    test_term_endpoint.o
  CXXLD  test_term_endpoint.exe
  CXX    test_monitor.o
  CXXLD  test_monitor.exe
  CXX    test_router_mandatory.o
  CXXLD  test_router_mandatory.exe
  CXX    test_disconnect_inproc.o
test_disconnect_inproc.cpp: In function 'int main(int, char**)':
test_disconnect_inproc.cpp:48:88: error: 'strndup' was not declared in this
test_disconnect_inproc.cpp:52:84: error: 'strndup' was not declared in this
test_disconnect_inproc.cpp:72:80: error: 'strndup' was not declared in this
makefile:524: recipe for target 'test_disconnect_inproc.o' failed
mingw32-make[1]: *** [test_disconnect_inproc.o] Error 1
mingw32-make[1]: Leaving directory 'd:/dev-eps/deps/zeromq-3.2.3/tests'
makefile:330: recipe for target 'all-recursive' failed
mingw32-make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130514/67aa3ec0/attachment.htm>

More information about the zeromq-dev mailing list