From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 20:15:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0F616A4CE for ; Mon, 26 Jul 2004 20:15:25 +0000 (GMT) Received: from hotmail.com (bay8-f86.bay8.hotmail.com [64.4.27.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id D73A443D5D for ; Mon, 26 Jul 2004 20:15:24 +0000 (GMT) (envelope-from evantd@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Jul 2004 13:15:24 -0700 Received: from 67.171.32.75 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 26 Jul 2004 20:15:24 GMT X-Originating-IP: [67.171.32.75] X-Originating-Email: [evantd@hotmail.com] X-Sender: evantd@hotmail.com From: "Evan Dower" To: dwhite@gumbysoft.com Date: Mon, 26 Jul 2004 13:15:24 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Jul 2004 20:15:24.0691 (UTC) FILETIME=[48F50630:01C4734D] cc: freebsd-current@freebsd.org Subject: Re: syntax errors in standard headers!? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 20:15:25 -0000 I managed to "fix" things by doing the following: cvsup build & install new world & kernel restore /var/db/pkg from a backup just before all my package info got corrupted After that, everything seems to be able to build again. I could have sworn that I had already updated the world and kernel a couple times since the corruption, but perhaps my memory failed me. Thanks very much for the time, response, and advice, -- Evan Dower Undergraduate, Computer Science University of Washington Public key: http://students.washington.edu/evantd/pgp-pub-key.txt Key fingerprint = D321 FA24 4BDA F82D 53A9 5B27 7D15 5A4F 033F 887D >From: Doug White >To: Evan Dower >CC: freebsd-current@freebsd.org >Subject: Re: syntax errors in standard headers!? >Date: Mon, 26 Jul 2004 13:10:32 -0700 (PDT) > >On Sat, 24 Jul 2004, Evan Dower wrote: > > > WIth the instability issues of late, I recently had a crash in the >middle of > > portupgrading. This left many packages with no +CONTENTS file. Thus I > > figured I would simply reinstall them. Unfortunately when I try to >reinstall > > any of them I tend to get errors such as: > > /usr/include/stdlib.h:46: error: syntax error before "typedef" > > and > > /usr/include/locale.h:42: error: syntax error before "struct" > > > > I get all kinds of other errors too. Basically not a whole lot is >working > > properly, even though I have updated -CURRENT since the crash. Most >recently > > on Thursday. > >Some port's .h file probably got corrupted and its leaving things in an >insconsistent state when the system headers come along. Inspect a file >that doesn't compile and trace the included files to find the corrupted >one. > >-- >Doug White | FreeBSD: The Power to Serve >dwhite@gumbysoft.com | www.FreeBSD.org _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/