Subject: Re: gcc-3.2.2 and NetBSD-1.6Q
To: Caffeinate The World <mochaexpress@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 04/06/2003 16:31:33
On Sat, Apr 05, 2003 at 11:04:36PM -0800, Caffeinate The World wrote:
> 
> --- Christian Biere <christianbiere@gmx.de> wrote:
> > You probably refer to this one:
> > In file included from /usr/include/sys/proc.h:52,
> >                  from /usr/include/sys/sysctl.h:50,
> > [...]
> > /usr/include/sys/lock.h:140: parse error before "lwpid_t"
> > /usr/include/sys/lock.h:155: parse error before '}' token
> > /usr/include/sys/lock.h:173: parse error before '}' token
> > In file included from /usr/include/sys/proc.h:53,
> >                  from /usr/include/sys/sysctl.h:50,
> > [...]
> > /usr/include/sys/lwp.h:65: parse error before "lwpid_t"
> > /usr/include/sys/lwp.h:97: parse error before '}' token
> > 
> > I've noticed this when I had to recompile mplayer. The problem is
> > that
> 
> Yes that's the exact error. Recompiling gcc-3.2.2 got rid of that error
> for me under 1.6Q. I started the recompile and went to bed.

I guess this is because of gcc's fixincludes, which keeps a modifed
copy of the system includes in the gcc3 install directory.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--