Boost logo

Boost Users :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-11-23 17:18:20


sfinks wrote:
> Hi.
>
> I'm trying to build libtorrent ( http://libtorrent.sf.net ) on
> xp+mingw+msys and I get some errors regarding boost.
[...]
> g++ -ftemplate-depth-50 -I../include -I../include/libtorrent -g -g -O2 -o test_piece_picker.exe main.o test_piece_picker.o -L/boost/lib ../src/.libs/libtorrent.a -lboost_date_time -lboost_filesystem -lboost_thread -lws2_32
[...]
> undefined reference to `AcceptEx_at_32'

It looks like the linker command line is missing "-lmswsock", which is
the library that contains the undefined symbols.

Cheers,
Chris


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