Hi, sir:
      I download net-snmp-5.1.4.pre2.tar.gz and compile with cygwin in
windows XP.
When run "configure", this message appears

...
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
...

Then When I run "make", this message appears

...
gcc -o snmpnetstat53.exe inet.o inet6.o if.o main.o route.o winstub.o ffs.o
ique
ry.o  ../../snmplib/.libs/libnetsnmp.a
Warning: resolving [EMAIL PROTECTED] by linking to _gethostname
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving [EMAIL PROTECTED] by linking to _getservbyport
inet6.o: In function `inet6print':
/cygdrive/c/net-snmp-5.1.4.pre2/apps/snmpnetstat/inet6.c:445: undefined
referenc
e to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[2]: *** [snmpnetstat53.exe] Error 1
make[2]: Leaving directory
`/cygdrive/c/net-snmp-5.1.4.pre2/apps/snmpnetstat'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/cygdrive/c/net-snmp-5.1.4.pre2/apps'
make: *** [subdirs] Error 1
-------------------------------------------------------------------------------


So , I can't make successfully. I have checked that "winsock2.h" has been
included. It should define "utohs()"

Can you explain why? or where I can find the answer.

Sincerely, Hawk




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to