Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 1997 00:45:09 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/3414: ucd-snmp port doesn't build under 2.2
Message-ID:  <199704290745.HAA09087@sundae.parc.xerox.com>
Resent-Message-ID: <199704290750.AAA02820@hub.freebsd.org>

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

>Number:         3414
>Category:       ports
>Synopsis:       ucd-snmp port doesn't build under 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 29 00:50:00 PDT 1997
>Last-Modified:
>Originator:     Bill Fenner
>Organization:
Xerox
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:

	
2.2-RELEASE installed via ftp, ports installed at that time.

>Description:

	
The ucd-snmp port fails to build.

...
cc -I../.. -I../../snmplib -O -Dfreebsd2 -c extensible.c
extensible.c: In function `var_extensible_mem':
extensible.c:474: `VM_METER' undeclared (first use this function)
extensible.c:474: (Each undeclared identifier is reported only once
extensible.c:474: for each function it appears in.)
extensible.c:474: initializer element for `mib[1]' is not constant


>How-To-Repeat:

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

>Fix:
	
	

--- extensible.c.wcforig	Tue Apr 29 02:12:19 1997
+++ extensible.c	Tue Apr 29 02:12:40 1997
@@ -77,6 +77,7 @@
 #endif
 #ifdef freebsd2
 #include <sys/rlist.h>
+#include <vm/vm_param.h>
 #include <osreldate.h>
 #endif
 

The port is even more broken on 3.0 .
>Audit-Trail:
>Unformatted:



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