From: Mattia B. <mb...@ds...> - 2003-05-07 09:25:35
|
On Wed, 7 May 2003, Axel R. wrote: >Hi all, >I try to compile xchat (not to have it, just to learn use mingw) <snip> >d:/projet/xchat-2.0.2/src/common/xchat.c:740: undefined reference to `WSAStartup > @8' >... >... >... > >and so on... > >all undefined reference are internet function (recv,connect,htons,gethostbyname...) > >how to specify the good internet lib ? (winsock ???) >did I forget something like -lNet or -lwinsock ? -lwinsock or -lws2_32 (remember to put it after .o files in the command line) HTH Mattia |