Re: make errors on OS X Tiger 10.4.2 for 5.2.1.2

"Brian A. Seklecki" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1125028149.10488.1019.camel@compulsion>
Ugh...

$ grep -ir TCPTV_MIN /usr/include/*
/usr/include/netinet/tcp_timer.h:#define        TCPTV_MIN       ( 
1*PR_SLOWHZ)         /* minimum allowable value */

$ uname -a
NetBSD deadset 2.99.9 NetBSD 2.99.9 (DEADSET) #4: Sun Nov  7 21:21:25
EST 2004  root@deadset:/mnt/disk0/obj/sys/arch/i386/compile/DEADSET i386

Have you got it?  Darwin might not ship with the proper includes..
~BAS


On Thu, 2005-08-25 at 17:24, Rob Kudyba wrote:
> make errors on Tiger 10.4.2
> 
> mibII/tcp.c: In function `tcp_handler':
> mibII/tcp.c:318: error: `TCPTV_MIN' undeclared (first use in this function)
> mibII/tcp.c:318: error: (Each undeclared identifier is reported only once
> mibII/tcp.c:318: error: for each function it appears in.)
> mibII/tcp.c:326: error: `TCPTV_REXMTMAX' undeclared (first use in this 
> function)
> make[2]: *** [mibII/tcp.lo] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [subdirs] Error 1
> 
> make install fail:
> 
> making installlibs in /usr/local/net-snmp-5.2.1.2/agent
> /bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent 
> -I../agent/mibgroup -I../snmplib   -g -O2 -Ddarwin8  -c -o 
> mibgroup/mibII/tcp.lo mibgroup/mibII/tcp.c
> rm -f mibgroup/mibII/.libs/tcp.lo
> gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 
> -Ddarwin8 -c mibgroup/mibII/tcp.c  -fno-common -DPIC -o 
> mibgroup/mibII/.libs/tcp.lo
> mibgroup/mibII/tcp.c: In function `tcp_handler':
> mibgroup/mibII/tcp.c:318: error: `TCPTV_MIN' undeclared (first use in 
> this function)
> mibgroup/mibII/tcp.c:318: error: (Each undeclared identifier is reported 
> only once
> mibgroup/mibII/tcp.c:318: error: for each function it appears in.)
> mibgroup/mibII/tcp.c:326: error: `TCPTV_REXMTMAX' undeclared (first use 
> in this function)
> make[1]: *** [mibgroup/mibII/tcp.lo] Error 1
> make: *** [installsubdirlibs] Error 1
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.