From owner-freebsd-stable Fri Oct 6 6:56:38 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ivin.nl (ivin.nl [161.58.235.201]) by hub.freebsd.org (Postfix) with ESMTP id 99DF237B671; Fri, 6 Oct 2000 06:56:25 -0700 (PDT) Received: from roberts4.roberts.nl ([213.73.149.39]) by ivin.nl (8.8.8) id PAA94294; Fri, 6 Oct 2000 15:56:16 +0200 (CEST) Message-Id: <5.0.0.25.2.20001006155321.00a36090@pop.roberts.nl> X-Sender: lar@pop.roberts.nl X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Fri, 06 Oct 2000 15:55:27 +0200 To: chris@hexanet.fr, freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG From: Luke Roberts Subject: Re: Problem building kernel on 4-STABLE In-Reply-To: <200010061346.PAA04284@proton.hexanet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 15:46 06/10/2000 +0200, Christophe Prevotaux wrote: >I just updated my source tree and when I try to compile my kernel I get >these errors , does anyone knows why ? Could be because of the order in which you do things. Below cookbook I wrote lately worked for me and my brother's FreeBSD box. Cheers, Luke 1. Install CVSUP ---------------------- cd /usr/src/ports/net/cvsup-bin make make install 2. Fetch the latest FreeBSD stable source for /usr/src from the FreeBSD repository ------------------------------------------------------------------------------------ cd /usr/local/bin/cvsup -h cvsup.nl.freebsd.org /usr/share/examples/cvsup/stable-supfile (this will now download loads of stuff, could take an hour) 3. Compile stuff ----------------- cd /usr/src make buildworld (this will take a long time ~1 hour) 4. Go to single user mode and Install Stuff --------------------------------------------- shutdown now (the computer will shutdown and go into a single user prompt) cd /usr/src make installworld 5. Recompile and Install Kernel -------------------------------- cd /src/i386/conf config -r YOURKERNEL (YOURKERNEL = name of yopur kernel) cd ../../compile/YOURKERNEL make clean make depend make install 6. Shutdown and Reboot ------------------------ shutdown -r now That should be it. In a prompt try: uname -srm You should get: FreeBSD 4.1.1-STABLE i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message