Re: make errors on OS X Tiger 10.4.2 for 5.2.1.2

Chris Florio <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Did you ever get this net-snmp to compile on 10.4.2?  I'm having the  
same problem!

If so, what did you do to get it to work?

Thanks!

From: Rob Kudyba <rkudyba@ra...>
Re: make errors on OS X Tiger 10.4.2 for 5.2.1.2
2005-08-26 06:29

  Yes I got it:
  *grep -ir TCPTV_MIN /usr/include/*
  /usr/include/net-snmp/system/dynix.h:#ifndef TCPTV_MIN
  /usr/include/net-snmp/system/dynix.h:#define TCPTV_MIN
  (1*PR_SLOWHZ)   /* minimum allowable value */
  /usr/include/ucd-snmp/system/dynix.h:#ifndef TCPTV_MIN
  /usr/include/ucd-snmp/system/dynix.h:#define TCPTV_MIN
  (1*PR_SLOWHZ)   /* minimum allowable value */*

  uname -a
  Darwin my-machine-g4.local 8.2.0 Darwin Kernel Version 8.2.0: Fri  
Jun 24
  17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh
  powerpc


  Brian A. Seklecki wrote:

  >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
  >>Net-snmp-users@li...
  >>Please see the following page to unsubscribe or change other  
options:
  >>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
  >>
  >>
  >
  >
  >
  >
  >
smime.p7s (application/pkcs7-signature, 2.1 KB) - not displayed
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.