net-snmp build problem under cygwin

This is a discussion on net-snmp build problem under cygwin within the SNMP Users forums, part of the Networking and Network Related category; when make net-snmp under cygwin, I got many errors below. anyone can help with me handle these errors? thanks ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2006
snow
 
Posts: n/a
Default net-snmp build problem under cygwin

when make net-snmp under cygwin, I got many errors below. anyone can
help with me handle these errors? thanks a lot

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:82:2:
war
ning: #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/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:89:
error
: redefinition of `struct timeval'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:108:
erro
r: redefinition of `struct linger'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:193:
erro
r: redefinition of `struct in_addr'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:224:
erro
r: redefinition of `struct sockaddr_in'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:278:
erro
r: redefinition of `struct ip_mreq'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:318:
erro
r: redefinition of `struct sockaddr'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:434:
erro
r: conflicting types for 'accept'
/usr/include/sys/socket.h:29: error: previous declaration of 'accept'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:434:
erro
r: conflicting types for 'accept'
/usr/include/sys/socket.h:29: error: previous declaration of 'accept'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:435:
erro
r: conflicting types for 'bind'
/usr/include/sys/socket.h:30: error: previous declaration of 'bind' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:435:
erro
r: conflicting types for 'bind'
/usr/include/sys/socket.h:30: error: previous declaration of 'bind' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:437:
erro
r: conflicting types for 'connect'
/usr/include/sys/socket.h:31: error: previous declaration of 'connect'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:437:
erro
r: conflicting types for 'connect'
/usr/include/sys/socket.h:31: error: previous declaration of 'connect'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:439:
erro
r: conflicting types for 'getpeername'
/usr/include/sys/socket.h:32: error: previous declaration of
'getpeername' was h
ere
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:439:
erro
r: conflicting types for 'getpeername'
/usr/include/sys/socket.h:32: error: previous declaration of
'getpeername' was h
ere
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:440:
erro
r: conflicting types for 'getsockname'
/usr/include/sys/socket.h:33: error: previous declaration of
'getsockname' was h
ere
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:440:
erro
r: conflicting types for 'getsockname'
/usr/include/sys/socket.h:33: error: previous declaration of
'getsockname' was h
ere
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:441:
erro
r: conflicting types for 'getsockopt'
/usr/include/sys/socket.h:44: error: previous declaration of
'getsockopt' was he
re
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:441:
erro
r: conflicting types for 'getsockopt'
/usr/include/sys/socket.h:44: error: previous declaration of
'getsockopt' was he
re
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:444:
erro
r: conflicting types for 'listen'
/usr/include/sys/socket.h:34: error: previous declaration of 'listen'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:444:
erro
r: conflicting types for 'listen'
/usr/include/sys/socket.h:34: error: previous declaration of 'listen'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:445:
erro
r: conflicting types for 'recv'
/usr/include/sys/socket.h:35: error: previous declaration of 'recv' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:445:
erro
r: conflicting types for 'recv'
/usr/include/sys/socket.h:35: error: previous declaration of 'recv' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:446:
erro
r: conflicting types for 'recvfrom'
/usr/include/sys/socket.h:37: error: previous declaration of 'recvfrom'
was here

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:446:
erro
r: conflicting types for 'recvfrom'
/usr/include/sys/socket.h:37: error: previous declaration of 'recvfrom'
was here

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:447:
erro
r: conflicting types for 'send'
/usr/include/sys/socket.h:39: error: previous declaration of 'send' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:447:
erro
r: conflicting types for 'send'
/usr/include/sys/socket.h:39: error: previous declaration of 'send' was
here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:448:
erro
r: conflicting types for 'sendto'
/usr/include/sys/socket.h:42: error: previous declaration of 'sendto'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:448:
erro
r: conflicting types for 'sendto'
/usr/include/sys/socket.h:42: error: previous declaration of 'sendto'
was here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:449:
erro
r: conflicting types for 'setsockopt'

Irene

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0