[zeromq-dev] libzmq mingw32 build fails
Kevin Sapper
kevinsapper88 at gmail.com
Wed Nov 19 14:27:07 CET 2014
Hi,
I like to use the latest master of libzmq and czmq on windows with
Qt&mingw. Therefore I need the .dll compiled with mingw-gcc. So far I tried:
* Cross-compiling on ubuntu 12.04
----
$ ./configure --host=i686-w64-mingw32
$ make
make[1]: Entering directory `/home/ksapper/Workspace/zeromq/libzmq'
CXX src/src_libzmq_la-address.lo
In file included from src/err.hpp:40:0,
from src/address.cpp:22:
src/windows.hpp:44:22: fatal error: winsock2.h: No such file or directory
compilation terminated.
-----
Is this even a possible option?
* Compile with mingw using "builds/mingw/Makefile.mingw32"
----
$ mount c:/mingw /mingw
$ cd <libzmq_dir>/builds/mingw32
$ make -f Makefile.mingw32
session_base.o: In function 'ZN3zmq14session_base_t16start_connectingEB' :
d:\libs\libzmq-master\builds\mingw32\..\..\src\session_base.cpp:503:
undefined reference to 'zmq::socks_connecter_t const&, zmq::address_t*,
zmq::address_t* bool)'
collect2.exe: error: ld returned 1 exit status
----
Am I doing something wrong?
Cheers//Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141119/4b6de833/attachment.htm>
More information about the zeromq-dev
mailing list