Link Error 2001 for... 
Author Message
 Link Error 2001 for...

Hi, I am trying of compile a program but that I have got:
 ..: warning C4133: 'function' : incompatible types - from 'char *' to
'const struct sockaddr *'
..pctrl_main.c(411) : warning C4133: 'function' : incompatible types -
from 'char *' to 'const struct sockaddr *'
.. warning C4133: 'function' : incompatible types - from 'struct
sockaddr_in *' to 'struct sockaddr *'
Linking...
pctrl_main.obj : error LNK2001: unresolved external symbol

pctrl_main.obj : error LNK2001: unresolved external symbol

pctrl_main.obj : error LNK2001: unresolved external symbol

pctrl_main.obj : error LNK2001: unresolved external symbol

pctrl_main.obj : error LNK2001: unresolved external symbol

pctrl_main.obj : error LNK2001: unresolved external symbol

Debug/pctrl_main.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

pctrl_main.exe - 7 error(s), 5 warning(s)
Does someone know what library resolve those irrisolved simbol?
Thanks for all.
GAS ;-)



Mon, 11 Sep 2000 03:00:00 GMT  
 Link Error 2001 for...

On Thu, 26 Mar 1998 10:45:22 +0100, Gaspare Marrali

Check Online helps Quick Info on the socket functions -- e.g.
closesocket. They live in ws2_32.lib.

Quote:
>Hi, I am trying of compile a program but that I have got:
> ..: warning C4133: 'function' : incompatible types - from 'char *' to
>'const struct sockaddr *'
>..pctrl_main.c(411) : warning C4133: 'function' : incompatible types -
>from 'char *' to 'const struct sockaddr *'
>.. warning C4133: 'function' : incompatible types - from 'struct
>sockaddr_in *' to 'struct sockaddr *'
>Linking...
>pctrl_main.obj : error LNK2001: unresolved external symbol

>pctrl_main.obj : error LNK2001: unresolved external symbol

>pctrl_main.obj : error LNK2001: unresolved external symbol

>pctrl_main.obj : error LNK2001: unresolved external symbol

>pctrl_main.obj : error LNK2001: unresolved external symbol

>pctrl_main.obj : error LNK2001: unresolved external symbol

>Debug/pctrl_main.exe : fatal error LNK1120: 6 unresolved externals
>Error executing link.exe.

>pctrl_main.exe - 7 error(s), 5 warning(s)
>Does someone know what library resolve those irrisolved simbol?
>Thanks for all.
>GAS ;-)

Don Grasberger
(remove --- from address to e-mail)


Mon, 11 Sep 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Linking Error 2001

2. Link error 2001 and 1120

3. Help-Linking Error 2001

4. Linking Error 2001

5. help: link error 2001

6. Link error 2001

7. Link error 2001

8. LINK ERROR 2001: unresoled external symbol _main

9. link error 2001 using string in multithread app

10. link 2001 error in statically linked mode only

11. link 2001 error when statically linking

12. Link Error 4006,4008,2001

 

 
Powered by phpBB® Forum Software