Linking errors of socket functions

Reply

Join Date: Aug 2004
Posts: 1
Reputation: tanner0035 is an unknown quantity at this point 
Solved Threads: 0
tanner0035 tanner0035 is offline Offline
Newbie Poster

Linking errors of socket functions

 
0
  #1
Aug 9th, 2004
I am currently getting 33 linking errors like the following:

c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSAASYNCSELECT' : unresolved external
c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'GETHOSTBYNAME' : unresolved external
c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSASTARTUP' : unresolved external

in each one is a different socket function. Each function listed in the errors appears nowhere in my program. I know that there has to be one thing that will make them all go away. can anyone help?

thanks,
Tanner
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 13
Reputation: glSuccinct is an unknown quantity at this point 
Solved Threads: 1
glSuccinct's Avatar
glSuccinct glSuccinct is offline Offline
Newbie Poster

Re: Linking errors of socket functions

 
0
  #2
Aug 12th, 2004
You're -not- using winsock? Odd. Well, one of the modules you're including is. Option 1, nuke that module. Option 2 (a hack), link against WS2_32.Lib.
-don't listen to me-
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC