|
From: Damien A <g_...@ho...> - 2003-11-13 22:16:12
|
<html><div style='background-color:'><DIV> <P>Pass <STRONG>-lws2_32</STRONG>, to your linker arguments..<BR><BR></P></DIV> <DIV></DIV><mailto:dev...@li...?subject=help><mailto:dev...@li...><mailto:dev...@li...?subject=subscribe><mailto:dev...@li...?subject=unsubscribe> <DIV></DIV>>Hi. <DIV></DIV>>I got this errors when try to compile a code with winsock2.h. <DIV></DIV>>I searched, but didn't find anything... can somebody help me? <DIV></DIV>> <DIV></DIV>>Thanks. <DIV></DIV>> <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x416):cliente_TCP.cpp: undefined reference to `WSAStartup@8' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x437):cliente_TCP.cpp: undefined reference to `socket@12' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x454):cliente_TCP.cpp: undefined reference to `WSAGetLastError@0' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x49c):cliente_TCP.cpp: undefined reference to `htons@4' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x4b5):cliente_TCP.cpp: undefined reference to `inet_addr@4' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x4f4):cliente_TCP.cpp: undefined reference to `gethostbyname@4' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x596):cliente_TCP.cpp: undefined reference to `connect@12' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x5b3):cliente_TCP.cpp: undefined reference to `WSAGetLastError@0' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x608):cliente_TCP.cpp: undefined reference to `send@16' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x622):cliente_TCP.cpp: undefined reference to `WSAGetLastError@0' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x694):cliente_TCP.cpp: undefined reference to `recv@16' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x6ae):cliente_TCP.cpp: undefined reference to `WSAGetLastError@0' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x722):cliente_TCP.cpp: undefined reference to `closesocket@4' <DIV></DIV>>C:\TEMP/ccsjaaaa.o(.text+0x72a):cliente_TCP.cpp: undefined reference to `WSACleanup@0' <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>----- <DIV></DIV>>www3.solar.com.br/~mstelles <DIV></DIV>> <DIV></DIV>>Don't worry about life; you're not going to survive it anyway. <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>--------------------------------- <DIV></DIV>>Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora! <DIV></DIV></mailto:dev...@li...?subject=unsubscribe></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...></mailto:dev...@li...?subject=help></div><br clear=all><hr>Add photos to your e-mail with <a href="http://g.msn.com/8HMBEN/2746??PS=">MSN 8.</a> Get 2 months FREE*.</html> |