Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 11:14:03 +0200
From:      "DA Forsyth" <d.forsyth@ru.ac.za>
To:        Kent Stewart <kstewart@owt.com>, freebsd-questions@freebsd.org
Subject:   Re: another compile error
Message-ID:  <4A2F957B.14347.18818A00@d.forsyth.ru.ac.za>
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>

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2F957B.14347.18818A00>