FreeBSD 9

Michael Butler imb at protected-networks.net
Sun Jul 10 00:08:51 UTC 2011


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


-------------- next part --------------
*** ./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


More information about the freebsd-current mailing list