[zeromq-dev] cygwin: link with cygwin
David Carricajo
david.carricajo at gmail.com
Wed Feb 1 15:25:01 CET 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120201/82b5d88b/attachment.htm>
More information about the zeromq-dev
mailing list