Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 1998 18:15:35 -0400 (EDT)
From:      Josh Tiefenbach <josh@asherah.zipperup.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7501: ucd-snmp port breaks. missing a header file.
Message-ID:  <199808052215.SAA24945@asherah.zipperup.org>

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

>Number:         7501
>Category:       ports
>Synopsis:       ucd-snmp port breaks. missing a header file.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug  5 15:20:00 PDT 1998
>Last-Modified:
>Originator:     Josh Tiefenbach
>Organization:
Connective Software.
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

FreeBSD asherah.zipperup.org 3.0-CURRENT FreeBSD 3.0-CURRENT #2: Mon Jul 20 20:01:11 EDT 1998     josh@asherah.zipperup.org:/usr/src/sys/compile/ASHERAH  i386

>Description:

Build of the ucd-snmp port fails under -current of my vintage (see
environment). It fails while building ${WORKDIR}/agent/mibgroup/mibII/tcp.c as
it does not include <sys/socketvar.h> which is required in order to slurp in a
required structure definition.

>How-To-Repeat:

	cd /usr/ports/net/ucd-snmp && make

>Fix:
	

--- agent/mibgroup/mibII/tcp.c.orig	Wed Aug  5 17:56:45 1998
+++ agent/mibgroup/mibII/tcp.c	Wed Aug  5 18:04:33 1998
@@ -54,6 +54,9 @@
 #if HAVE_NETINET_IP_VAR_H
 #include <netinet/ip_var.h>
 #endif
+#ifdef freebsd3
+#include <sys/socketvar.h>
+#endif
 #if HAVE_NETINET_IN_PCB_H
 #include <netinet/in_pcb.h>
 #endif
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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