From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 09:14:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DA201065672 for ; Wed, 10 Jun 2009 09:14:10 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id B40DA8FC1D for ; Wed, 10 Jun 2009 09:14:09 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:56927) by d.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MEJsh-000PId-TO; Wed, 10 Jun 2009 11:14:03 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MEJsh-000Fqg-V4; Wed, 10 Jun 2009 11:14:03 +0200 From: "DA Forsyth" Organization: IWR To: Kent Stewart , freebsd-questions@freebsd.org Date: Wed, 10 Jun 2009 11:14:03 +0200 MIME-Version: 1.0 Message-ID: <4A2F957B.14347.18818A00@d.forsyth.ru.ac.za> Priority: normal In-reply-to: <200906091030.03257.kstewart@owt.com> References: <4A2E9524.3642.14983ABC@d.forsyth.ru.ac.za>, <139b44430906090954g5914d81cvcaf2c80b16e727b9@mail.gmail.com>, <200906091030.03257.kstewart@owt.com> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: d.mail.ru.ac.za (146.231.129.36) Cc: Subject: Re: another compile error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 09:14:10 -0000 On 9 Jun 2009 , Kent Stewart entreated about "Re: another compile error": > > > > trying to build kernel for 7.2 and get this > > > > (my earlier problem was my having CFLAGS=... in /etc/src.conf) > > > > > > > > MAKE=make sh /usr/src/sys/conf/newvers.sh LERGY72 > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs - > > Hello, > > > > If you want udbp(4) you have to know that it requires netgraph(4). > > They are both available as modules and/or kernel config options > > (actually udbp(4) is a device :) ). > > If that is all it takes, then, I think that GENERIC should mention > the "options NETGRAPH" as a requirement for udbp. There are numerous places > with "requires miibus" as a comment because a device won't compile without > it. A commented line has often been there because it was a work in progress > such as ULE was for what seems like years or broken for unknown reasons. > GENERIC was always self documenting. Thanks guys. having 'options NETGRAPH' is indeed the fix. There is no mention of it being required for udbp in GENERIC, nor in either of the NOTES files. It is mentioned in the man for udbp, which I hadn't read (yet), silly me. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/