Subject: Re: gcc-3.2.2 and NetBSD-1.6Q
To: None <current-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 04/06/2003 08:53:09
--=.vUOC:OrA3wq1N(
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Caffeinate The World <mochaexpress@yahoo.com> wrote:

> Trying to compile freevrrpd (NetBSD version). I don't remember exactly
> what the error was but it complained about some mismatching {} from
> some system include files.

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
lwpid_t isn't defined. I used the hack "typedef int32_t lwpid_t;" but I
wonder what the real problem is. Do I really have to recompile gcc or
this there a problem with the header files in /usr/include?

-- 
Christian

--=.vUOC:OrA3wq1N(
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+j87f0KQix3oyIMcRAs1zAKC8HPGPorAON0Q+BsQKYay1ep4nkQCaAtzU
hfxd3uFgeNyFbph8DrsabaQ=
=61Gx
-----END PGP SIGNATURE-----

--=.vUOC:OrA3wq1N(--