From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 12:31:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B017116A4CE for ; Thu, 28 Apr 2005 12:31:04 +0000 (GMT) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686FB43D41 for ; Thu, 28 Apr 2005 12:31:04 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27473 invoked from network); 28 Apr 2005 12:31:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Apr 2005 12:31:03 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id BAE122F; Thu, 28 Apr 2005 08:31:02 -0400 (EDT) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org To: null@dnswatch.com References: <63349.216.177.243.42.1114575288.localmail@webmail.dnswatch.com> From: Lowell Gilbert Date: 28 Apr 2005 08:31:02 -0400 In-Reply-To: <63349.216.177.243.42.1114575288.localmail@webmail.dnswatch.com> Message-ID: <44is27m6bd.fsf@be-well.ilk.org> Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: can't build kernel [with CONFIG this time] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 12:31:04 -0000 "/dev/null" writes: > Hello, > Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU > showed up. Installed the CPU drafted a new config for the kernel cd'd to > /usr/src, typed "make buildkernel KERNCONF=DEMON01", build process went as > expected. But before the build process completed the machine froze for no > apparent reason at the sound driver part. Couldn't ssh into it from another > box, so hit the reset button, chose 4 from the menu (single user mode). > Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed. > So I performed an rm -fr /usr/src. > Then /stand/sysinstall > install entire src tree and tried another > "make buildkernel KERNCONF=DEMON01" in /usr/src. > It barfed with the following: > .... > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> rp > rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @ > machine s > ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> rue > ".depend", line 1: Need an operator > ".depend", line 3: Need an operator > ".depend", line 4: Need an operator > ".depend", line 5: Need an operator > ".depend", line 6: Need an operator > ".depend", line 9: Need an operator > ".depend", line 18: Need an operator > ".depend", line 20: Need an operator > ".depend", line 21: Need an operator > ".depend", line 25: Need an operator > ".depend", line 43: Need an operator > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/DEMON01. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > /usr/src Sounds like maybe something involved with make(1) itself got corrupted. Rare, but it happens. Reinstalling the base system would probably help (just do a "binary upgrade" -- you don't need to reinstall the whole system).