[zeromq-dev] 2.0.7 x64 Windows Linker Errors

Jarred Ward jarred at webriots.com
Thu Jun 17 21:04:33 CEST 2010


I don't have time at the moment to figure out what's going on, but here's
the build output:

1>------ Build started: Project: libzmq, Configuration: Release x64 ------
1>  app_thread.cpp
1>  command.cpp
1>  ctx.cpp
1>  devpoll.cpp
1>  downstream.cpp
1>  epoll.cpp
1>  err.cpp
1>  forwarder.cpp
1>  fq.cpp
1>  io_object.cpp
1>  io_thread.cpp
1>  ip.cpp
1>  kqueue.cpp
1>  lb.cpp
1>  object.cpp
1>  options.cpp
1>  owned.cpp
1>  pair.cpp
1>  pgm_receiver.cpp
1>  pgm_sender.cpp
1>  Generating Code...
1>  Compiling...
1>  pgm_socket.cpp
1>  pipe.cpp
1>  poll.cpp
1>  prefix_tree.cpp
1>  pub.cpp
1>  queue.cpp
1>  rep.cpp
1>  req.cpp
1>  select.cpp
1>  session.cpp
1>  signaler.cpp
1>  socket_base.cpp
1>  streamer.cpp
1>  sub.cpp
1>  tcp_connecter.cpp
1>  tcp_listener.cpp
1>  tcp_socket.cpp
1>  thread.cpp
1>  upstream.cpp
1>  uuid.cpp
1>  Generating Code...
1>  Compiling...
1>  xrep.cpp
1>  xreq.cpp
1>  zmq.cpp
1>..\..\..\src\zmq.cpp(58): warning C4273: 'zmq_version' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(48) : see previous
definition of 'zmq_version'
1>..\..\..\src\zmq.cpp(65): warning C4273: 'zmq_strerror' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(97) : see previous
definition of 'zmq_strerror'
1>..\..\..\src\zmq.cpp(106): warning C4273: 'zmq_msg_init' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(133) : see previous
definition of 'zmq_msg_init'
1>..\..\..\src\zmq.cpp(114): warning C4273: 'zmq_msg_init_size' :
inconsistent dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(134) : see previous
definition of 'zmq_msg_init_size'
1>..\..\..\src\zmq.cpp(141): warning C4273: 'zmq_msg_init_data' :
inconsistent dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(135) : see previous
definition of 'zmq_msg_init_data'
1>..\..\..\src\zmq.cpp(155): warning C4273: 'zmq_msg_close' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(137) : see previous
definition of 'zmq_msg_close'
1>..\..\..\src\zmq.cpp(179): warning C4273: 'zmq_msg_move' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(138) : see previous
definition of 'zmq_msg_move'
1>..\..\..\src\zmq.cpp(187): warning C4273: 'zmq_msg_copy' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(139) : see previous
definition of 'zmq_msg_copy'
1>..\..\..\src\zmq.cpp(210): warning C4273: 'zmq_msg_data' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(140) : see previous
definition of 'zmq_msg_data'
1>..\..\..\src\zmq.cpp(220): warning C4273: 'zmq_msg_size' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(141) : see previous
definition of 'zmq_msg_size'
1>..\..\..\src\zmq.cpp(230): warning C4273: 'zmq_init' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(147) : see previous
definition of 'zmq_init'
1>..\..\..\src\zmq.cpp(273): warning C4273: 'zmq_term' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(148) : see previous
definition of 'zmq_term'
1>..\..\..\src\zmq.cpp(288): warning C4273: 'zmq_socket' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(183) : see previous
definition of 'zmq_socket'
1>..\..\..\src\zmq.cpp(293): warning C4273: 'zmq_close' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(184) : see previous
definition of 'zmq_close'
1>..\..\..\src\zmq.cpp(300): warning C4273: 'zmq_setsockopt' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(185) : see previous
definition of 'zmq_setsockopt'
1>..\..\..\src\zmq.cpp(306): warning C4273: 'zmq_getsockopt' : inconsistent
dll linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(187) : see previous
definition of 'zmq_getsockopt'
1>..\..\..\src\zmq.cpp(312): warning C4273: 'zmq_bind' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(189) : see previous
definition of 'zmq_bind'
1>..\..\..\src\zmq.cpp(317): warning C4273: 'zmq_connect' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(190) : see previous
definition of 'zmq_connect'
1>..\..\..\src\zmq.cpp(322): warning C4273: 'zmq_send' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(191) : see previous
definition of 'zmq_send'
1>..\..\..\src\zmq.cpp(327): warning C4273: 'zmq_recv' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(192) : see previous
definition of 'zmq_recv'
1>..\..\..\src\zmq.cpp(332): warning C4273: 'zmq_poll' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(214) : see previous
definition of 'zmq_poll'
1>..\..\..\src\zmq.cpp(644): warning C4273: 'zmq_errno' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(94) : see previous
definition of 'zmq_errno'
1>..\..\..\src\zmq.cpp(649): warning C4273: 'zmq_device' : inconsistent dll
linkage
1>          c:\zeromq\zeromq-2.0.7\src\../include/zmq.h(224) : see previous
definition of 'zmq_device'
1>  zmq_connecter.cpp
1>  zmq_decoder.cpp
1>  zmq_encoder.cpp
1>  zmq_engine.cpp
1>  zmq_init.cpp
1>  zmq_listener.cpp
1>  Generating Code...
1>     Creating library
C:\zeromq\zeromq-2.0.7\builds\msvc\x64\Release\libzmq.lib and object
C:\zeromq\zeromq-2.0.7\builds\msvc\x64\Release\libzmq.exp
1>xreq.obj : warning LNK4217: locally defined symbol zmq_msg_init imported
in function "public: __cdecl zmq::xreq_t::xreq_t(class zmq::app_thread_t *)"
(??0xreq_t at zmq@@QEAA at PEAVapp_thread_t@1@@Z)
1>zmq_decoder.obj : warning LNK4049: locally defined symbol zmq_msg_init
imported
1>zmq_encoder.obj : warning LNK4049: locally defined symbol zmq_msg_init
imported
1>session.obj : warning LNK4049: locally defined symbol zmq_msg_init
imported
1>streamer.obj : warning LNK4217: locally defined symbol zmq_msg_init
imported in function "int __cdecl zmq::streamer(class zmq::socket_base_t
*,class zmq::socket_base_t *)" (?streamer at zmq@@YAHPEAVsocket_base_t at 1@0 at Z)
1>sub.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>xrep.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>pub.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>queue.obj : warning LNK4217: locally defined symbol zmq_msg_init imported
in function "int __cdecl zmq::queue(class zmq::socket_base_t *,class
zmq::socket_base_t *)" (?queue at zmq@@YAHPEAVsocket_base_t at 1@0 at Z)
1>rep.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>req.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>forwarder.obj : warning LNK4217: locally defined symbol zmq_msg_init
imported in function "int __cdecl zmq::forwarder(class zmq::socket_base_t
*,class zmq::socket_base_t *)" (?forwarder at zmq@@YAHPEAVsocket_base_t at 1@0 at Z)
1>fq.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>lb.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>pair.obj : warning LNK4049: locally defined symbol zmq_msg_init imported
1>xrep.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>xreq.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>zmq_decoder.obj : warning LNK4049: locally defined symbol zmq_msg_close
imported
1>zmq_encoder.obj : warning LNK4049: locally defined symbol zmq_msg_close
imported
1>rep.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>req.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>session.obj : warning LNK4049: locally defined symbol zmq_msg_close
imported
1>sub.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>fq.obj : warning LNK4217: locally defined symbol zmq_msg_close imported in
function "public: int __cdecl zmq::fq_t::recv(struct zmq_msg_t *,int)"
(?recv at fq_t@zmq@@QEAAHPEAUzmq_msg_t@@H at Z)
1>pair.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>pipe.obj : warning LNK4217: locally defined symbol zmq_msg_close imported
in function "public: __cdecl zmq::yqueue_t<struct
zmq_msg_t,256>::yqueue_t<struct zmq_msg_t,256>(void)"
(??0?$yqueue_t at Uzmq_msg_t@@$0BAA@@zmq@@QEAA at XZ)
1>pub.obj : warning LNK4049: locally defined symbol zmq_msg_close imported
1>queue.obj : warning LNK4217: locally defined symbol zmq_poll imported in
function "int __cdecl zmq::queue(class zmq::socket_base_t *,class
zmq::socket_base_t *)" (?queue at zmq@@YAHPEAVsocket_base_t at 1@0 at Z)
1>zmq_decoder.obj : warning LNK4049: locally defined symbol zmq_msg_size
imported
1>zmq_encoder.obj : warning LNK4049: locally defined symbol zmq_msg_size
imported
1>zmq_init.obj : warning LNK4049: locally defined symbol zmq_msg_size
imported
1>rep.obj : warning LNK4217: locally defined symbol zmq_msg_size imported in
function "public: virtual int __cdecl zmq::rep_t::xrecv(struct zmq_msg_t
*,int)" (?xrecv at rep_t@zmq@@UEAAHPEAUzmq_msg_t@@H at Z)
1>req.obj : warning LNK4049: locally defined symbol zmq_msg_size imported
1>sub.obj : warning LNK4049: locally defined symbol zmq_msg_size imported
1>xrep.obj : warning LNK4049: locally defined symbol zmq_msg_size imported
1>zmq_init.obj : warning LNK4049: locally defined symbol zmq_msg_data
imported
1>sub.obj : warning LNK4217: locally defined symbol zmq_msg_data imported in
function "private: bool __cdecl zmq::sub_t::match(struct zmq_msg_t *)"
(?match at sub_t@zmq@@AEAA_NPEAUzmq_msg_t@@@Z)
1>xrep.obj : warning LNK4049: locally defined symbol zmq_msg_data imported
1>zmq_decoder.obj : warning LNK4049: locally defined symbol zmq_msg_data
imported
1>zmq_encoder.obj : warning LNK4049: locally defined symbol zmq_msg_data
imported
1>sub.obj : warning LNK4217: locally defined symbol zmq_msg_move imported in
function "protected: virtual int __cdecl zmq::sub_t::xrecv(struct zmq_msg_t
*,int)" (?xrecv at sub_t@zmq@@MEAAHPEAUzmq_msg_t@@H at Z)
1>xrep.obj : warning LNK4217: locally defined symbol zmq_msg_init_size
imported in function "public: virtual int __cdecl zmq::xrep_t::xrecv(struct
zmq_msg_t *,int)" (?xrecv at xrep_t@zmq@@UEAAHPEAUzmq_msg_t@@H at Z)
1>zmq_decoder.obj : warning LNK4049: locally defined symbol
zmq_msg_init_size imported
1>zmq_init.obj : warning LNK4049: locally defined symbol zmq_msg_init_size
imported
1>ctx.obj : error LNK2019: unresolved external symbol __imp_WSACleanup
referenced in function "private: __cdecl zmq::ctx_t::~ctx_t(void)"
(??1ctx_t at zmq@@AEAA at XZ)
1>ctx.obj : error LNK2019: unresolved external symbol __imp_WSAStartup
referenced in function "public: __cdecl zmq::ctx_t::ctx_t(unsigned int)"
(??0ctx_t at zmq@@QEAA at I@Z)
1>tcp_socket.obj : error LNK2001: unresolved external symbol
__imp_WSAGetLastError
1>err.obj : error LNK2019: unresolved external symbol __imp_WSAGetLastError
referenced in function "char const * __cdecl zmq::wsa_error(void)"
(?wsa_error at zmq@@YAPEBDXZ)
1>signaler.obj : error LNK2001: unresolved external symbol
__imp_WSAGetLastError
1>tcp_connecter.obj : error LNK2001: unresolved external symbol
__imp_WSAGetLastError
1>tcp_listener.obj : error LNK2001: unresolved external symbol
__imp_WSAGetLastError
1>ip.obj : error LNK2019: unresolved external symbol __imp_freeaddrinfo
referenced in function "int __cdecl zmq::resolve_ip_interface(struct
sockaddr_storage *,int *,char const *)" (?resolve_ip_interface at zmq
@@YAHPEAUsockaddr_storage@@PEAHPEBD at Z)
1>ip.obj : error LNK2019: unresolved external symbol __imp_getaddrinfo
referenced in function "int __cdecl zmq::resolve_ip_interface(struct
sockaddr_storage *,int *,char const *)" (?resolve_ip_interface at zmq
@@YAHPEAUsockaddr_storage@@PEAHPEBD at Z)
1>ip.obj : error LNK2019: unresolved external symbol __imp_htonl referenced
in function "int __cdecl zmq::resolve_ip_interface(struct sockaddr_storage
*,int *,char const *)" (?resolve_ip_interface at zmq@@YAHPEAUsockaddr_storage@
@PEAHPEBD at Z)
1>signaler.obj : error LNK2001: unresolved external symbol __imp_htonl
1>ip.obj : error LNK2019: unresolved external symbol __imp_htons referenced
in function "int __cdecl zmq::resolve_ip_interface(struct sockaddr_storage
*,int *,char const *)" (?resolve_ip_interface at zmq@@YAHPEAUsockaddr_storage@
@PEAHPEBD at Z)
1>select.obj : error LNK2019: unresolved external symbol __WSAFDIsSet
referenced in function "private: void __cdecl zmq::select_t::loop(void)"
(?loop at select_t@zmq@@AEAAXXZ)
1>zmq.obj : error LNK2001: unresolved external symbol __WSAFDIsSet
1>select.obj : error LNK2019: unresolved external symbol __imp_select
referenced in function "private: void __cdecl zmq::select_t::loop(void)"
(?loop at select_t@zmq@@AEAAXXZ)
1>zmq.obj : error LNK2001: unresolved external symbol __imp_select
1>signaler.obj : error LNK2019: unresolved external symbol __imp_closesocket
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_connecter.obj : error LNK2001: unresolved external symbol
__imp_closesocket
1>tcp_listener.obj : error LNK2001: unresolved external symbol
__imp_closesocket
1>tcp_socket.obj : error LNK2001: unresolved external symbol
__imp_closesocket
1>signaler.obj : error LNK2019: unresolved external symbol __imp_ioctlsocket
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_connecter.obj : error LNK2001: unresolved external symbol
__imp_ioctlsocket
1>tcp_listener.obj : error LNK2001: unresolved external symbol
__imp_ioctlsocket
1>signaler.obj : error LNK2019: unresolved external symbol __imp_accept
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_listener.obj : error LNK2001: unresolved external symbol __imp_accept
1>signaler.obj : error LNK2019: unresolved external symbol __imp_connect
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_connecter.obj : error LNK2001: unresolved external symbol
__imp_connect
1>signaler.obj : error LNK2019: unresolved external symbol __imp_WSASocketA
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>signaler.obj : error LNK2019: unresolved external symbol __imp_listen
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_listener.obj : error LNK2001: unresolved external symbol __imp_listen
1>signaler.obj : error LNK2019: unresolved external symbol __imp_getsockname
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>signaler.obj : error LNK2019: unresolved external symbol __imp_bind
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_listener.obj : error LNK2001: unresolved external symbol __imp_bind
1>signaler.obj : error LNK2019: unresolved external symbol __imp_socket
referenced in function "public: __cdecl zmq::signaler_t::signaler_t(void)"
(??0signaler_t at zmq@@QEAA at XZ)
1>tcp_connecter.obj : error LNK2001: unresolved external symbol __imp_socket
1>tcp_listener.obj : error LNK2001: unresolved external symbol __imp_socket
1>signaler.obj : error LNK2019: unresolved external symbol __imp_send
referenced in function "public: void __cdecl zmq::signaler_t::send(struct
zmq::command_t const &)" (?send at signaler_t@zmq@@QEAAXAEBUcommand_t at 2@@Z)
1>tcp_socket.obj : error LNK2001: unresolved external symbol __imp_send
1>signaler.obj : error LNK2019: unresolved external symbol __imp_recv
referenced in function "public: bool __cdecl zmq::signaler_t::recv(struct
zmq::command_t *,bool)" (?recv at signaler_t@zmq@@QEAA_NPEAUcommand_t at 2@_N at Z)
1>tcp_socket.obj : error LNK2001: unresolved external symbol __imp_recv
1>tcp_connecter.obj : error LNK2019: unresolved external symbol
__imp_setsockopt referenced in function "public: int __cdecl
zmq::tcp_connecter_t::open(void)" (?open at tcp_connecter_t@zmq@@QEAAHXZ)
1>tcp_listener.obj : error LNK2001: unresolved external symbol
__imp_setsockopt
1>tcp_socket.obj : error LNK2001: unresolved external symbol
__imp_setsockopt
1>tcp_connecter.obj : error LNK2019: unresolved external symbol
__imp_getsockopt referenced in function "public: unsigned __int64 __cdecl
zmq::tcp_connecter_t::connect(void)" (?connect at tcp_connecter_t@zmq@
@QEAA_KXZ)
1>uuid.obj : error LNK2019: unresolved external symbol __imp_UuidToStringA
referenced in function "public: __cdecl zmq::UUID::UUID(void)" (??0UUID at zmq
@@QEAA at XZ)
1>uuid.obj : error LNK2019: unresolved external symbol __imp_UuidCreate
referenced in function "public: __cdecl zmq::UUID::UUID(void)" (??0UUID at zmq
@@QEAA at XZ)
1>C:\zeromq\zeromq-2.0.7\builds\msvc\x64\Release\libzmq.dll : fatal error
LNK1120: 24 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100617/5ab9ffe1/attachment.html>


More information about the zeromq-dev mailing list