$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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