From owner-freebsd-ports Fri Apr 18 12:08:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA26328 for ports-outgoing; Fri, 18 Apr 1997 12:08:54 -0700 (PDT) Received: from sand.sentex.ca (sand.sentex.ca [206.222.77.6]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA26304 for ; Fri, 18 Apr 1997 12:08:47 -0700 (PDT) Received: from gravel (gravel.sentex.ca [205.211.165.210]) by sand.sentex.ca (8.8.5/8.8.3) with SMTP id PAA07305; Fri, 18 Apr 1997 15:13:23 -0400 (EDT) Message-Id: <3.0.1.32.19970418151302.00cc2c10@sentex.net> X-Sender: mdtancsa@sentex.net X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Fri, 18 Apr 1997 15:13:02 -0400 To: Tom Samplonius , ports@freebsd.org From: Mike Tancsa Subject: Re: ucd-snmp In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 11:00 AM 4/18/97 -0700, Tom Samplonius wrote: > > The ucd-snmp from current or 2.2 doesn't compile on a 2.2.1 system. >Anyone know how to fix this? > > >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 >*** Error code 1 I was able to compile the package directly from ftp://ftp.ece.ucdavis.edu/pub/snmp/ucd-snmp.tar.gz However, when using the resulting binaries, I some errors/warnings...e.g. on the snmpwalk I get stuff like sand# snmpwalk -v 1 host.to.be.walked.com public system.sysDescr.0 = "Livingston PortMaster PM-3 ComOS 3.5c6" snmpwalk in free(): warning: chunk is already free. system.sysObjectID.0 = OID: enterprises.307.1.1 snmpwalk in free(): warning: chunk is already free. i.e. after each print, I get the warning message to standard error... I havent had time to look at it in great detail. Anyone have any ideas ? ---Mike ********************************************************************** Mike Tancsa (mike@sentex.net) * To do is to be -- Nietzsche Sentex Communications Corp, * To be is to do -- Sartre Cambridge, Ontario * Do be do be do -- Sinatra (http://www.sentex.net/~mdtancsa) *