[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-support
Subject: [ net-snmp-Support Requests-410159 ] Problem compiling with latest CygWin
From: noreply () sourceforge ! net
Date: 2001-04-24 20:45:50
[Download RAW message or body]
Support Requests item #410159, was updated on 2001-03-20 13:34
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=410159&group_id=12694
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Niels Baggesen (nba)
Summary: Problem compiling with latest CygWin
Initial Comment:
Hello,
I have not been able to compile UCD-SNMP/NET-SNMP (all versions) with the latest CygWin
distribution (CygWin 1.1.8-2) or anything past CygWin 1.1.6. I can configure NET-SNMP, but upon
making, it always fails at "winstub.lo" with conflicting type for "getnetbyaddr".
I've got a GZipped tar file of the configs and error files.
Thanks,
-victor
buildcyg script termination:
=================
make[2]: *** [winstub.lo] Error 1
make[1]: *** [subdirs] Error 2
make[2]: *** [winstub.lo] Error 1
make[1]: *** [subdirs] Error 2
nohup.out:
=======
gcc -g -O2 -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast
-align -Wwrite-strings -Wno-unused -Wno-char-subscripts -Dcygwin -I../.. -I../..
/../apps/snmpnetstat/../.. -I../../../apps/snmpnetstat/../../snmplib -c ../../..
/apps/snmpnetstat/winstub.c -DPIC -o .libs/winstub.lo
../../../apps/snmpnetstat/winstub.c:173: conflicting types for `getnetbyaddr'
/usr/include/netdb.h:174: previous declaration of `getnetbyaddr'
make[2]: *** [winstub.lo] Error 1
make[2]: Leaving directory `/new/src/nettools/ucd-snmp-4.2.1.pre1/cyg/apps/snmpnetstat'
make[1]: *** [subdirs] Error 2
CygWin:
=====
I've sent a similar message to the CygWin mailing list, and what I got back was:
> The standard (Single UNIX ® Specification, Version 2)
> getnetbyaddr has this prototype:
>
> struct netent *getnetbyaddr(uint32_t net, int type);
>
> in Cygwin 1st arg is signed long.
----------------------------------------------------------------------
>Comment By: Niels Baggesen (nba)
Date: 2001-04-24 13:45
Message:
Logged In: YES
user_id=88647
With 4.2.1 it works for me
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=410159&group_id=12694
_______________________________________________
Net-snmp-support mailing list
Net-snmp-support@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-support
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic