From owner-freebsd-stable Mon Jul 16 2:41:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 2249537B401 for ; Mon, 16 Jul 2001 02:41:41 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.244.107.191.Dial1.SanJose1.Level3.net [209.244.107.191]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id CAA29070; Mon, 16 Jul 2001 02:41:19 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f6G9ev214810; Mon, 16 Jul 2001 02:40:57 -0700 (PDT) (envelope-from cjc) Date: Mon, 16 Jul 2001 02:40:51 -0700 From: "Crist J. Clark" To: Ben Loyall Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ipfilter module weirdness during kernel build Message-ID: <20010716024051.D301@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20010713174605.Q6602-100000@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010713174605.Q6602-100000@localhost>; from bloyall@palisade.loyall.org on Fri, Jul 13, 2001 at 06:04:40PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jul 13, 2001 at 06:04:40PM -0400, Ben Loyall wrote: > okay, this has me confused. > > Today I did a minor kernel change and went to rebuild it. I did: > > `cd /usr/src/sys/i386/conf` > `config HUMMER` > `cd ../../compile/HUMMER` > `make depend` > `make` > > The make died with: > > make: don't know how to make > /usr/local/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c Stop > *** Error code 2 > Stop in /usr/local/src/sys/modules. > *** Error code 1 > Stop in /usr/local/src/sys/compile/HUMMER > > > Now, I remembered seeing this the other day, in which I did a re-csvup, > remade world and all was well. > > so, I did: > > `cd /usr/src; make buildkernel KERNCONF=HUMMER` > > and got > > >>> Kernel build for HUMMER completed....... > > at this point I assumed I got stupid and screwed up the last build install > cycle, so, I did: > > `make installkernel KERNCONF=HUMMER` > `shutdown -r now` > `cd /usr/src ; make installworld` > `mergemaster` > `shutdown -r now` > > Then just to check: > > `cd /usr/src/sys/i386/conf` > `config HUMMER` > `cd ../../compile/HUMMER` > `make depend` > `make` > > and died with the same: > > make: don't know how to make > /usr/local/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c > blah blah blah > > How the heck did I manage to dork that? > And how do I un-dork it :) You are not cleaning up before building a new kernel. Do, # rm -rf /usr/src/sys/compile/HUMMER # cd /usr/src/sys/i386/conf # config HUMMER .. And see what happens. Always nuke the compile/ directory when you get new source (and you really should keep world and kernel in sync too). -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message