I don't know if anybody has any experience compiling netcat or cryptcat on vis studio c++. I obtained the windows source files from
then I created a project in vis studio and added all of the c++ files that came in the download to that project. then when I build netcat.c I get the following errors:
-------------------Configuration: NETCAT - Win32 Debug--------------------
Linking...
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSACleanup@0
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSAStartup@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSAGetLastError@0
NETCAT.OBJ : error LNK2001: unresolved external symbol _closesocket@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _gethostbyaddr@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _inet_ntoa@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _gethostbyname@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _inet_addr@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _getservbyname@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _ntohs@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _getservbyport@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _htons@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _connect@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _bind@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _setsockopt@20
NETCAT.OBJ : error LNK2001: unresolved external symbol _socket@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSASetLastError@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _accept@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _recvfrom@24
NETCAT.OBJ : error LNK2001: unresolved external symbol _getsockname@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _listen@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _send@16
NETCAT.OBJ : error LNK2001: unresolved external symbol _select@20
NETCAT.OBJ : error LNK2001: unresolved external symbol ___WSAFDIsSet@8
farm9crypt.obj : error LNK2001: unresolved external symbol _recv@16
twofish2.obj : error LNK2001: unresolved external symbol __imp__send@16
Debug/NETCAT.exe : fatal error LNK1120: 26 unresolved externals
Error executing link.exe.
NETCAT.exe - 27 error(s), 0 warning(s)
----------------------------------------------
I want to be able to compile it myself so that i can alter it to force a pasword authentication before a listening instance of netcat will accept a connection.
Thanks,
Matt
then I created a project in vis studio and added all of the c++ files that came in the download to that project. then when I build netcat.c I get the following errors:
-------------------Configuration: NETCAT - Win32 Debug--------------------
Linking...
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSACleanup@0
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSAStartup@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSAGetLastError@0
NETCAT.OBJ : error LNK2001: unresolved external symbol _closesocket@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _gethostbyaddr@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _inet_ntoa@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _gethostbyname@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _inet_addr@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _getservbyname@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _ntohs@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _getservbyport@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _htons@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _connect@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _bind@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _setsockopt@20
NETCAT.OBJ : error LNK2001: unresolved external symbol _socket@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _WSASetLastError@4
NETCAT.OBJ : error LNK2001: unresolved external symbol _accept@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _recvfrom@24
NETCAT.OBJ : error LNK2001: unresolved external symbol _getsockname@12
NETCAT.OBJ : error LNK2001: unresolved external symbol _listen@8
NETCAT.OBJ : error LNK2001: unresolved external symbol _send@16
NETCAT.OBJ : error LNK2001: unresolved external symbol _select@20
NETCAT.OBJ : error LNK2001: unresolved external symbol ___WSAFDIsSet@8
farm9crypt.obj : error LNK2001: unresolved external symbol _recv@16
twofish2.obj : error LNK2001: unresolved external symbol __imp__send@16
Debug/NETCAT.exe : fatal error LNK1120: 26 unresolved externals
Error executing link.exe.
NETCAT.exe - 27 error(s), 0 warning(s)
----------------------------------------------
I want to be able to compile it myself so that i can alter it to force a pasword authentication before a listening instance of netcat will accept a connection.
Thanks,
Matt