Error compiling code using winsock functions

David None davoooooo@hotmail.com
Fri Jul 4 12:02:00 GMT 2003


Hi there, thanks for the reply, but I've tried the methods suggested (just 
using windows.h and #define Win32_Winsock), also as Win32_Winsock is 
deprecated, I also tried defining __USE_W32_SOCKETS
but I'm still receiving the same error:

I get the following error:
"iphdrinc.o(.text+0x820):iphdrinc.c: undefined reference to '_WSASocketA@24' 
collect2: ld returned 1 exit status"

hopefully some more ideas are floating around ? =)

well thankyou again and I hope to hear from someone soon =)

regards,
David.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list