[zeromq-dev] cygwin: link with cygwin

David Carricajo david.carricajo at gmail.com
Wed Feb 1 17:24:33 CET 2012


On Wed, Feb 1, 2012 at 4:37 PM, Mikko Koppanen <mikko at kuut.io> wrote:

> On Wed, Feb 1, 2012 at 8:25 AM, David Carricajo
> <david.carricajo at gmail.com> wrote:
> > 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
> >
>
> Hi,
>
> after editing src/platform.hpp did you do 'make clean' ?
>

No, i didn't. I do right now with much the same results, the command to the
linker is:

g++  -L/usr/local/lib -shared -o "libmessaging.a"   ./dummy -lboost_system
-lboost_thread  -lws2_32 -lwsock32 -luuid -lzmq -lprotobuf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120201/136fb1c7/attachment.htm>


More information about the zeromq-dev mailing list