From owner-freebsd-doc@FreeBSD.ORG Thu Jun 20 01:18:33 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 55EFCD9B for ; Thu, 20 Jun 2013 01:18:33 +0000 (UTC) (envelope-from ddwood@highdensity.org) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 330841B37 for ; Thu, 20 Jun 2013 01:18:33 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id uo1so5649466pbc.31 for ; Wed, 19 Jun 2013 18:18:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-gm-message-state; bh=BF6P1Snk+ZSJXZ5TAdNq+i15TKwB/PDCiZQZK4/+jlc=; b=iWpcmfQQSBtedfVZaH8Z0FeZuTrbIrtc7fVOr6fQBuQeFlCtQupFJodjB6R81Lv2T/ y/pruZlFs3XnxwesG21LmvODmM48LTzq8+MT+YKLWykmGXfq92uu8veH51AbzVsUnlmh Exjoi1KO7WL8bPr0zyR4zbsIbhyOtoIz9tfYUnp1l4YGkQYBIYN/r/ScaCP6BKBNRAjc MxdtfbqTXq2S3HH2THsN1ET6IP5ziZzaAJichEFSG3YoKNz4lE2Hoy0nRWhdJeo2ceHx mzqNv3GqhkyMT+6mvyGADwpbgQriqE2NEisFnTpwYNG1QTKY9xQnHEEqmNJXlQCjBWZl I5oA== X-Received: by 10.66.234.232 with SMTP id uh8mr2495850pac.155.1371691112617; Wed, 19 Jun 2013 18:18:32 -0700 (PDT) Received: from yavin (ip68-109-181-145.ph.ph.cox.net. [68.109.181.145]) by mx.google.com with ESMTPSA id iq6sm25337083pbc.1.2013.06.19.18.18.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 19 Jun 2013 18:18:31 -0700 (PDT) Date: Wed, 19 Jun 2013 18:18:26 -0700 From: Derek Wood To: freebsd-doc@freebsd.org Subject: Re: broken instructions for buildkernel Message-ID: <20130620011826.GA12831@yavin> Mail-Followup-To: freebsd-doc@freebsd.org References: <023e01ce6d47$dab08470$90118d50$@hain-global-consulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <023e01ce6d47$dab08470$90118d50$@hain-global-consulting.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmjz5znRc5dChy0WUuaRGxRYHts+YgQySMCy0DpiwJt/wWkGSXcvCB/wCmt92+iD8OEhMr4 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 01:18:33 -0000 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.