From owner-freebsd-current@FreeBSD.ORG Tue Oct 31 20:49:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1B7A16A407 for ; Tue, 31 Oct 2006 20:49:58 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64ED143DBF for ; Tue, 31 Oct 2006 20:49:30 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.8/8.13.8) with ESMTP id k9VKl95L043138 for ; Tue, 31 Oct 2006 12:47:09 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.8/8.13.8/Submit) id k9VKl9Ba043137 for freebsd-current@freebsd.org; Tue, 31 Oct 2006 12:47:09 -0800 (PST) (envelope-from sgk) Date: Tue, 31 Oct 2006 12:47:09 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20061031204709.GA43090@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: bsnmpd breaks buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 20:49:58 -0000 ===> usr.sbin/bsnmpd/bsnmpd (all) cc -O2 -pipe -march=opteron -I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/lib -I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd -I. -DUSE_LIBBEGEMOT -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c:57: error: `OIDX_freeBSDVersion' undeclared here (not in a function) /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c:65: warning: 'act_getkernstring' defined but not used *** Error code 1 Stop in /usr/src/usr.sbin/bsnmpd/bsnmpd. *** Error code 1 troutmask:kargl[201] cd /usr/src troutmask:kargl[202] find . -type f | xargs grep OIDX_freeBSDVersion ./contrib/bsnmp/snmpd/action.c: oid_freeBSDVersion = OIDX_freeBSDVersion; grep: ./#cvs.cvsup-32694.1: Permission denied troutmask:kargl[203] This patch fixes the problem. --- usr.sbin/Makefile.orig Tue Oct 31 12:46:19 2006 +++ usr.sbin/Makefile Tue Oct 31 12:46:32 2006 @@ -24,7 +24,6 @@ ${_boot0cfg} \ ${_boot98cfg} \ bootparamd \ - bsnmpd \ ${_btxld} \ burncd \ ${_cached} \ -- Steve