It was a simple thing to fix, I just needed to add -lws2_32 to my LDFLAGS.
The thing is that it seems that this winsock library is needed to link
libplibnet.a in windows. =BFCould this be added by any developer with
access to the website at http://plib.sourceforge.net/net/index.html ?
Also, if anyone is interested, I compiled plib under mingw without
cygwin(pretty easily actually I tought it would be a painful process),
I just installed MinGW, MSYS, extracted plib-1.8.4.tar, executed
command.exe (the crappy command-line included with Windows), executed
"sh configure --prefix C:/MinGW/"(since you can't do ./configure in
Windows) and executed "make install".
|