Skip to content

Mingw compilation on Windows #158

@mbr4

Description

@mbr4

Under windows when compiling using Mingw there is a linking error:

\zeromq-4.1.6\builds\mingw32/../../src/session_base.cpp:520: undefined reference to `zmq::socks_connecter_t::socks_connecter_t(zmq::io_thread_t*, zmq::session_base_t*, zmq::options_t const&, zmq::address_t*, zmq::address_t*, bool)'
collect2.exe: error: ld returned 1 exit status
Makefile.mingw32:40: recipe for target 'libzmq.dll' failed
mingw32-make: *** [libzmq.dll] Error 1

This error is caoused by missing of 2 source files compilation in makefile. It can be fixed by adding two files:
socks_connecter.o socks.o
to Makefile.mingw32 to OBJS section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions