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]>
The only thing I  would add is that the folks at opendarwin/ 
darwinports have the problem also and it appears no good answer:

http://darwinports.opendarwin.org/darwinports/dports/net/net-snmp/ 
Portfile

"--------------------------------------------------------------------"
  "net-snmp 5.2.1 fails to build on darwin 8 (Mac OS X 10.4),"
  "requires OS-specific patches.  These are available via darwinsource,"
"will take some time to integrate."
  "--------------------------------------------------------------------"

Anyone with specific information on what OS-specific patches or  
whatever, please let us know.


On Aug 31, 2005, at 1:57 PM, Rob Kudyba wrote:

> No and I've never received any additional replies/suggestions...
>
>
>
>>> 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
>  >>
>  >>
>
>
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.