From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 20:10:33 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 1515E16A4CE for ; Mon, 26 Jul 2004 20:10:33 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E711543D39 for ; Mon, 26 Jul 2004 20:10:32 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id D9B9D72DF2; Mon, 26 Jul 2004 13:10:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id D735772DB5; Mon, 26 Jul 2004 13:10:32 -0700 (PDT) Date: Mon, 26 Jul 2004 13:10:32 -0700 (PDT) From: Doug White To: Evan Dower In-Reply-To: Message-ID: <20040726130939.J32820@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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:10:33 -0000 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