23 Nov
2006
23 Nov
'06
10:18 p.m.
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@32'
It looks like the linker command line is missing "-lmswsock", which is the library that contains the undefined symbols. Cheers, Chris