Hello,
Enclosed
problems I got when building cygwin version of
net-snmp-5.2.1
When
running:
./configure --with-mib-modules="host agentx
disman/event-mib examples/example" --with-out-mib-modules=host/hr_network
\
in
cygwin (latest:CYGWIN_NT-5.1)
I got
the encosed error.
Proceeding
with make causes a build error with files using winsock.h
Moshe
checking for pkginfo.h... no
checking winsock.h usability... no
checking winsock.h presence... yes
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: ## ---------------------------------------------------- ##
checking for winsock.h... yes
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking netinet/ip6.h usability... no
checking winsock.h usability... no
checking winsock.h presence... yes
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: ## ---------------------------------------------------- ##
checking for winsock.h... yes
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking netinet/ip6.h usability... no
