|
Boost Users : |
Subject: Re: [Boost-users] A question about boost::asio (using boost 1.36 minGW eclipse CDT windows
From: Jeff Gray (jeffg_at_[hidden])
Date: 2008-10-13 20:26:58
These functions are Microsoft WinSock library calls. You need to link
with that library. The exact name probably changes between versions, but
it may be something like ws2_32 (check your compiler to see if it's an
easy option to set).
Regards,
Jeff
gali barabash wrote:
> /src/timer.o: In function
> `ZNK5boost16exception_detail15exception_cloneINS0_19error_info_injectorINS_6system12system_errorEEEE7add_refEv':
>
> C:/Dev/MessageThreads/Debug/../src/timer.cpp:(.text$_ZN5boost4asio6detail12winsock_initILi2ELi0EE7do_initD1Ev[boost::asio::detail::winsock_init<2,
> 0>::do_init::~do_init()]+0x7): undefined reference to `WSACleanup_at_0'
>
> C:/Dev/MessageThreads/Debug/../src/timer.cpp:(.text$_ZN5boost4asio6detail12winsock_initILi2ELi0EE7do_initC1Ev[boost::asio::detail::winsock_init<2,
> 0>::do_init::do_init()]+0x1f): undefined reference to `WSAStartup_at_8'
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net