Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jul 2011 20:08:47 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Tim Gustafson <tjg@soe.ucsc.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: FreeBSD 9
Message-ID:  <4E18ED8F.2040301@protected-networks.net>
In-Reply-To: <1427345072.163222.1309540223239.JavaMail.root@mail-01.cse.ucsc.edu>
References:  <1427345072.163222.1309540223239.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 07/01/11 13:10, Tim Gustafson wrote:

> At any rate, 9 is working for now, except for the net-snmp compilation problem which I got around by using the binary package.

A rather quick hack to get this to compile is attached; it is decidedly 
in need of more care ..

	imb



[-- Attachment #2 --]
*** ./agent/mibgroup/mibII/tcpTable.c~	Fri Jul  8 20:22:17 2011
--- ./agent/mibgroup/mibII/tcpTable.c	Fri Jul  8 20:22:37 2011
***************
*** 17,23 ****
  #include <net-snmp/net-snmp-config.h>
  #include "mibII_common.h"
  
! #include <in_pcb.h>
  
  #if HAVE_NETINET_TCP_H
  #include <netinet/tcp.h>
--- 17,23 ----
  #include <net-snmp/net-snmp-config.h>
  #include "mibII_common.h"
  
! #include <netinet/in_pcb.h>
  
  #if HAVE_NETINET_TCP_H
  #include <netinet/tcp.h>
*** ./agent/mibgroup/mibII/ipv6.c~	Fri Jul  8 20:05:06 2011
--- ./agent/mibgroup/mibII/ipv6.c	Fri Jul  8 20:24:49 2011
***************
*** 95,102 ****
  # include <netinet6/ip6_var.h>
  #endif
  #include <net/route.h>
! #if OS_FREEBSD_OR_DARWIN
! # if HAVE_NETINET_IN_PCB_H
  #  include <netinet/in_pcb.h>
  # endif
  #endif
--- 95,102 ----
  # include <netinet6/ip6_var.h>
  #endif
  #include <net/route.h>
! #if 1 /* OS_FREEBSD_OR_DARWIN */
! # if 1 /* HAVE_NETINET_IN_PCB_H */
  #  include <netinet/in_pcb.h>
  # endif
  #endif
*** ./agent/mibgroup/mibII/udpTable.c~	Sat May 10 05:51:37 2008
--- ./agent/mibgroup/mibII/udpTable.c	Fri Jul  8 20:25:46 2011
***************
*** 17,22 ****
--- 17,24 ----
  #include <net-snmp/net-snmp-config.h>
  #include "mibII_common.h"
  
+ #include <netinet/in_pcb.h>
+ 
  #if HAVE_NETINET_UDP_H
  #include <netinet/udp.h>
  #endif

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E18ED8F.2040301>