Hi there,
I am a newbie in the SNMP coding word and I have a hard time compiling SNMP for my CYGWIN platform.
During the ./configure for either 5.0.10.1 or 5.3.0.1 ,
I have the following:
configure: WARNING: winsock.h: present but cannot be compiled
configure: WARNING: winsock.h: check for missing prerequisite headers?
configure: WARNING: winsock.h: see the Autoconf documentation
configure: WARNING: winsock.h: section "Present But Cannot Be Compiled"
configure: WARNING: winsock.h: proceeding with the preprocessor's result
configure: WARNING: winsock.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------------------------- ##
configure: WARNING: ## Report this to [email protected] ##
configure: WARNING: ##
---------------------------------------------------- ##
Then my make fails with the following error:
```
In file included from ../../include/net-snmp/definitions.h:22,
from ../../include/net-snmp/net-snmp-includes.h:64,
from mibII/interfaces.c:199:
../../include/net-snmp/types.h:56: warning: useless keyword or type name in empty declaration
../../include/net-snmp/types.h:56: warning: empty declaration
mibII/interfaces.c: In function `var_ifEntry':
mibII/interfaces.c:2780: error: `Name' undeclared (first use in this function)
mibII/interfaces.c:2780: error: (Each undeclared identifier is reported only once
mibII/interfaces.c:2780: error: for each function it appears in.)
make[2]: *** [mibII/interfaces.lo] Error 1
make[2]: Leaving direc
tory
`/usr/src/net-snmp-5.0.10.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/net-snmp-5.0.10.1/agent'
make: *** [subdirs] Error 1
```
Can anybody help?
Thanks
- SNMP make errors James Dontsop
- Re: SNMP make errors Wes Hardaker
- Re: SNMP make errors Dave Shield
