I did as you recommended.
I had to add the following two lines to tcp.c under agent/mibgroup/
mibii/
#define TCPTV_MIN ( 1*PR_SLOWHZ) /* minimum allowable
value */
#define TCPTV_REXMTMAX ( 64*PR_SLOWHZ) /* max allowable
REXMT value */
which were from tcp_timer.h in the Kernel.framework under headers,
under netinet.
The undefined members are defined in route.h but require
__APPLE_API_UNSTABLE to be defined.
mibII/route_write.c: In function 'addRoute':
mibII/route_write.c:129: error: 'struct ortentry' has no member named
'rt_nodes'
mibII/route_write.c:134: error: 'struct ortentry' has no member named
'rt_pad1'
mibII/route_write.c:139: error: 'SIOCADDRT' undeclared (first use in
this function)
mibII/route_write.c:139: error: (Each undeclared identifier is
reported only once
mibII/route_write.c:139: error: for each function it appears in.)
mibII/route_write.c: In function 'delRoute':
mibII/route_write.c:194: error: 'struct ortentry' has no member named
'rt_nodes'
mibII/route_write.c:199: error: 'struct ortentry' has no member named
'rt_pad1'
mibII/route_write.c:205: error: 'SIOCDELRT' undeclared (first use in
this function)
make[2]: *** [mibII/route_write.lo] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1
Richard J. Zak
Apple Campus Representative for UMBC
On 24. Mai 2005, at 19:44 Uhr, Wes Hardaker wrote:
On Mon, 23 May 2005 19:23:42 -0400, "Richard J. Zak"
<[EMAIL PROTECTED]> said:
Richard> 1. (*) text/plain ( ) text/html
Richard> Trying to compile net-snmp 5.2.1 on Mac OS X 10.4.0
You can get around this by telling it not to include that mib
module... --with-out-mib-modules="ucd-snmp/disk".
--
Wes Hardaker
Sparta, Inc.
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders