From owner-freebsd-stable@FreeBSD.ORG Mon Feb 21 20:21:06 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E4916A4CE for ; Mon, 21 Feb 2005 20:21:06 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C32C343D2F for ; Mon, 21 Feb 2005 20:21:05 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.no-ip.com) Received: (qmail 4359 invoked from network); 21 Feb 2005 20:21:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Feb 2005 20:21:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 0BD117F; Mon, 21 Feb 2005 15:21:02 -0500 (EST) Sender: lowell@be-well.ilk.org To: bsdnooby References: <421A2D73.2090401@optonline.net> <20050221190150.GA45177@dan.emsphone.com> <421A3141.4000204@optonline.net> From: Lowell Gilbert Date: 21 Feb 2005 15:21:02 -0500 In-Reply-To: <421A3141.4000204@optonline.net> Message-ID: <44hdk5hdg1.fsf@be-well.ilk.org> Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: buildworld fails on: ===> bin/domainname X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 20:21:06 -0000 bsdnooby writes: > Dan Nelson wrote: > > >In the last episode (Feb 21), bsdnooby said: > > > >>When I run 'make buildworld' I get a series of errors like this: > >> > >>rm -f .depend GPATH GRTAGS GSYMS GTAGS > >>===> bin/domainname > >>"Makefile", line 3: Need an operator > >>... > >>"Makefile", line 33 Need an operator > >>make: fatal errors encountered -- cannot continue > >>*** Error code 1 > >>Stop in /usr/src/bin > >>*** Error code 1 > >>Stop in /usr/src > >>*** Error code 1 > >>Stop in /usr/src > >> > > > >The contents of bin/domainname/Makefile should read: > > > > # $FreeBSD: src/bin/domainname/Makefile,v 1.7 2001/12/04 01:57:40 obrien Exp $ > > PROG= domainname > > .include > > > >Check to make sure your copy didn't get corrupted somehow. > > > > > Hm. After the header info at the top, there is only line in that file: > > #define _PATH_CH "/dev/ch0" Sounds like your disk is pretty thoroughly corrupted. Try to shut down cleanly, then reboot into single-user mode and fsck(8) the disks.