Hi,

I was trying to use the zmq library in HEAD and ran into some issues with gcc
4.5.3 Target: i686-pc-cygwin. The library didn't compile:

$ ./configure
$ make
...
signaler.cpp:188:2: error: #error
cc1plus: warnings being treated as errors
signaler.cpp: In member function 'int zmq::signaler_t::wait(int)':

The i defined  #define ZMQ_FORCE_SELECT in src/platform.h.in and compiled.
Then i got:

$ make
...
CXXLD  libzmq.la
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries

When i ran the tests i got:

$ make check
...
PASS: test_hwm.exe
Software caused connection abort (tcp_socket.cpp:229)
Assertion failed: false (reaper.cpp:78)
/bin/sh: line 5: 12148 Segmentation fault      (core dumped) ${dir}$tst
FAIL: test_shutdown_stress.exe

I got sure that this patch was applied
http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110415/4116ad66/attachment.bin,
but it didn't change anything. Now when i try to link with libzmq.a with
the aforementioned g++ i got:

/usr/local/include/zmq.hpp:53: undefined reference to `__imp__zmq_errno'

Someone went past this?, is it feasible to use link in cygwin the library
build with MSVC as a workaround?
Thanks in advance.
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to