Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 13:10:32 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Evan Dower <evantd@hotmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: syntax errors in standard headers!?
Message-ID:  <20040726130939.J32820@carver.gumbysoft.com>
In-Reply-To: <BAY8-F263JQ51qqV3Y300029e56@hotmail.com>
References:  <BAY8-F263JQ51qqV3Y300029e56@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040726130939.J32820>