Has anyone experienced:

making all in /home/tford/net-snmp-5.2.pre3/snmplib
make[1]: Entering directory `/home/tford/net-snmp-5.2.pre3/snmplib'
make[1]: Leaving directory `/home/tford/net-snmp-5.2.pre3/snmplib'
making all in /home/tford/net-snmp-5.2.pre3/agent
make[1]: Entering directory `/home/tford/net-snmp-5.2.pre3/agent'
making all in /home/tford/net-snmp-5.2.pre3/agent/helpers
make[2]: Entering directory `/home/tford/net-snmp-5.2.pre3/agent/helpers'
make[2]: Leaving directory `/home/tford/net-snmp-5.2.pre3/agent/helpers'
making all in /home/tford/net-snmp-5.2.pre3/agent/mibgroup
make[2]: Entering directory `/home/tford/net-snmp-5.2.pre3/agent/mibgroup'
/bin/sh ../../libtool  --mode=compile gcc -I../../include -I. 
-I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include   -g 
-O2 -Dcygwin  -c -o host/hr_swrun.lo host/hr_swrun.c
rm -f host/.libs/hr_swrun.lo
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup 
-I../../snmplib -I/usr/include -g -O2 -Dcygwin -c host/hr_swrun.c  
-DDLL_EXPORT -DPIC -o host/.libs/hr_swrun.lo
In file included from host_res.h:28,
                 from host/hr_swrun.c:82:
/usr/include/w32api/winsock.h:81:2: warning: #warning "fd_set and 
associated macros have been defined in sys/types.      This can cause 
runtime problems with W32 sockets" 
In file included from host_res.h:28,
                 from host/hr_swrun.c:82:
/usr/include/w32api/winsock.h:88: error: redefinition of `struct timeval'
/usr/include/w32api/winsock.h:107: error: redefinition of `struct linger'
/usr/include/w32api/winsock.h:192: error: redefinition of `struct in_addr'
/usr/include/w32api/winsock.h:223: error: redefinition of `struct 
sockaddr_in'
/usr/include/w32api/winsock.h:277: error: redefinition of `struct ip_mreq'
/usr/include/w32api/winsock.h:317: error: redefinition of `struct 
sockaddr'
/usr/include/w32api/winsock.h:433: error: conflicting types for `accept'
/usr/include/sys/socket.h:29: error: previous declaration of `accept'
/usr/include/w32api/winsock.h:434: error: conflicting types for `bind'
/usr/include/sys/socket.h:30: error: previous declaration of `bind'
/usr/include/w32api/winsock.h:436: error: conflicting types for `connect'
/usr/include/sys/socket.h:31: error: previous declaration of `connect'
/usr/include/w32api/winsock.h:438: error: conflicting types for 
`getpeername'
/usr/include/sys/socket.h:32: error: previous declaration of `getpeername'
/usr/include/w32api/winsock.h:439: error: conflicting types for 
`getsockname'
/usr/include/sys/socket.h:33: error: previous declaration of `getsockname'
/usr/include/w32api/winsock.h:440: error: conflicting types for 
`getsockopt'
/usr/include/sys/socket.h:44: error: previous declaration of `getsockopt'
/usr/include/w32api/winsock.h:443: error: conflicting types for `listen'
/usr/include/sys/socket.h:34: error: previous declaration of `listen'
/usr/include/w32api/winsock.h:444: error: conflicting types for `recv'
/usr/include/sys/socket.h:35: error: previous declaration of `recv'
/usr/include/w32api/winsock.h:445: error: conflicting types for `recvfrom'
/usr/include/sys/socket.h:37: error: previous declaration of `recvfrom'
/usr/include/w32api/winsock.h:446: error: conflicting types for `send'
/usr/include/sys/socket.h:39: error: previous declaration of `send'
/usr/include/w32api/winsock.h:447: error: conflicting types for `sendto'
/usr/include/sys/socket.h:42: error: previous declaration of `sendto'
/usr/include/w32api/winsock.h:448: error: conflicting types for 
`setsockopt'
/usr/include/sys/socket.h:43: error: previous declaration of `setsockopt'
/usr/include/w32api/winsock.h:449: error: conflicting types for `shutdown'
/usr/include/sys/socket.h:45: error: previous declaration of `shutdown'
/usr/include/w32api/winsock.h:450: error: conflicting types for `socket'
/usr/include/sys/socket.h:46: error: previous declaration of `socket'
/usr/include/w32api/winsock.h:454: error: conflicting types for 
`getservbyname'
/usr/include/sys/socket.h:49: error: previous declaration of 
`getservbyname'
/usr/include/w32api/winsock.h:474: error: parse error before '(' token
/usr/include/w32api/winsock.h:474: error: parse error before '?' token
/usr/include/w32api/winsock.h:475: error: parse error before '(' token
/usr/include/w32api/winsock.h:475: error: parse error before '?' token
/usr/include/w32api/winsock.h:476: error: parse error before '(' token
/usr/include/w32api/winsock.h:476: error: parse error before '?' token
/usr/include/w32api/winsock.h:477: error: parse error before '(' token
/usr/include/w32api/winsock.h:477: error: parse error before '?' token
/usr/include/w32api/winsock.h:478: error: conflicting types for `select'
/usr/include/sys/select.h:28: error: previous declaration of `select'
/usr/include/w32api/winsock.h:479: error: conflicting types for 
`gethostname'
/usr/include/sys/unistd.h:205: error: previous declaration of 
`gethostname'
make[2]: *** [host/hr_swrun.lo] Error 1
make[2]: Leaving directory `/home/tford/net-snmp-5.2.pre3/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/tford/net-snmp-5.2.pre3/agent'
make: *** [subdirs] Error 1

Having done this to configure:

./configure --with-mib-modules="host agentx disman/event-mib 
examples/example" --with-out-mib-modules=host/hr_network 
--with-openssl="/usr"


Thanks,

Torin



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to