broken instructions for buildkernel

Derek Wood ddwood at highdensity.org
Thu Jun 20 01:18:33 UTC 2013


On Wed, Jun 19, 2013 at 04:51:01PM -0700, Tony Hain wrote:
> The steps in
> http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html
> are simply broken/incomplete. This sequence goes straight from 'get the src'
> to 'make buildkernel'. Doing that to build 10-current on a 9.1 fresh install
> results in "no previous prototype for yyparse". Searching for that error
> string shows it has been a recurring problem; & returns comments like   :::
> "you must do make buildworld first" :::
> If buildworld is a prereq, why isn't that in the instruction sequence? Even
> if it is only required once, on a fresh install it should be possible to
> look at the FreeBSD docs and build a custom kernel without hitting errors
> and having to search for hints. 

The instructions for tracking a development branch cover the use case
you want:

http://www.freebsd.org/doc/handbook/current-stable.html

What you were looking at is used for building a kernel from a source
tree that is already in sync with the installed kernel/world. e.g,
enabling PF/ALTQ.


More information about the freebsd-doc mailing list