Implementación de un gestor SNMP en Visual C++
Publicado por KAYSS (3 intervenciones) el 09/05/2007 18:25:20
Hola,
Estoy implementando un gestor de SNMP en visual.
Utilizo las librerías de net-snmp.
El problema surge al utilizar la librería WINSOCK.DLL, en concreto da el error:
error LNK2028: se hace referencia al símbolo (token) sin resolver (0A000011) "extern "C" int __stdcall select(int,struct fd_set *,struct fd_set *,struct fd_set *,struct timeval const *)
esta llamada hace referencia al código (incluido en un .h, denominado winsock.h):
int __stdcall far select (
IN int nfds,
IN OUT fd_set FAR *readfds,
IN OUT fd_set FAR *writefds,
IN OUT fd_set FAR *exceptfds,
IN const struct timeval FAR *timeout);
que supuestamente es la que hace uso de la librería winsock de windows pues en su cabecera indica:
INSOCK.H--definitions to be used with the WINSOCK.DLL
Por favor, espero me podais ayudar
Estoy implementando un gestor de SNMP en visual.
Utilizo las librerías de net-snmp.
El problema surge al utilizar la librería WINSOCK.DLL, en concreto da el error:
error LNK2028: se hace referencia al símbolo (token) sin resolver (0A000011) "extern "C" int __stdcall select(int,struct fd_set *,struct fd_set *,struct fd_set *,struct timeval const *)
esta llamada hace referencia al código (incluido en un .h, denominado winsock.h):
int __stdcall far select (
IN int nfds,
IN OUT fd_set FAR *readfds,
IN OUT fd_set FAR *writefds,
IN OUT fd_set FAR *exceptfds,
IN const struct timeval FAR *timeout);
que supuestamente es la que hace uso de la librería winsock de windows pues en su cabecera indica:
INSOCK.H--definitions to be used with the WINSOCK.DLL
Por favor, espero me podais ayudar
Valora esta pregunta


0