
Linker error 2001 @&(#&@#&$@
Hi..
this program after compiling, and when trying to link gives the following
error;
ClientConnection.obj : error LNK2001: unresolved external symbol
_close_socket
JavaClientConnection.obj : error LNK2001: unresolved external symbol
_close_socket
In a header file[Sfl.h] that i use in hte program have the closest
conneciton with these error messages. as it has declared functin prototypes
as
#ifdef __cplusplus
extern "C" {
#endif
int close_socket (sock_t handle);
char *socket_peeraddr (sock_t handle);
.
.
.
.
etc..... and finaly
#if (defined (__WINDOWS__))
int winsock_last_error (void);
#endif
#ifdef __cplusplus
Quote:
}
#endif
And my compilation options are;
/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS"
/Fp"Release/Main.pch" /YX /Fo"Release/" /Fd"Release/" /FD
Can anyone help me , why it seems to fail linking the obj files? i am simply
lost at this point!!!!
thank you very much for any enlightment
moditha