|
From: Gisle V. <gv...@br...> - 2011-03-31 19:48:23
|
"ni va" <niv...@gm...> wrote: > Those errors'link are coming : > gcc -IC:/MinGW/msys/1.0/include -Wall -O2 -o serproxy main.o sio.o sock.o > thread.o vlist.o cfglib.o config.o string.o pipe.c error.c > -LC:/MinGW/msys/1.0/include -lpthread > || main.o:main.c:(.text+0x73): référence indéfinie vers « _impure_ptr » I'm not sure about this. Looks like something MSVC specific. || main.o:main.c:(.text+0xe5): référence indéfinie vers « select@20 » || main.o:main.c:(.text+0x12d): référence indéfinie vers «__WSAFDIsSet@8 » Add '-lws2_32' to the gcc link command. --gv |