Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2006 12:47:09 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   bsnmpd breaks buildworld
Message-ID:  <20061031204709.GA43090@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
===> 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



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