From: Abhijit S. <mu...@gm...> - 2002-07-25 17:59:58
|
---Original---------- 2) if i try to compile a file already existing the message above doesn't appear, but i can't use the library "winsock2.h"; in fact for every function included in it compiler says "[Linker error] undefined reference to 'FUNCTION_NAME @ INT'" (for example, for the function "connect" the message is "[Linker error] undefined reference to 'connect @ 12'"); what does it mean? How could i solve this problem? --------------------- Add -lwsock32 under project/libraries. The Winsock functions are stored in the libwsock32.a library, which this command makes the compiler link in. |