Subject: Re: current build problem: signal.h
To: None <current-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 09/17/2003 13:36:35
--=./ztBqfQou+sAIV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

tom hensel <tom@replic8.net> wrote:
> /usr/include/signal.h:68: parse error before `int'
> *** Error code 1
> ==snap==
> 
> /usr/include/signal.h line 68 says:
> 
> ==snip==
> int     pthread_kill __P((pthread_t, int));
> ==snap==
> 
> some more context, signal.h lines 65-69:
> 
> ==snip==
> #if (_POSIX_C_SOURCE - 0L) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 ||
> #\
>     defined(_NETBSD_SOURCE)
> int     pthread_sigmask __P((int, const sigset_t *, sigset_t *));
> int     pthread_kill __P((pthread_t, int));
> #endif
> ==snap==
> 
> any help? life is hard without pkg_install...

Did you update userland without updating gcc3 afterwards? Looks
exactly as the problem I had some days ago. In this case using
gcc (2.95.3) from /usr/bin should work. 

-- 
Christian

--=./ztBqfQou+sAIV
Content-Type: application/pgp-signature

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

iD8DBQE/aEdT0KQix3oyIMcRAtyyAJ95Qr4bvX87HAp63wThWrOku9SOzACgq2r3
2gY40h6zPVHYfC5Ui1tK2lA=
=NjAG
-----END PGP SIGNATURE-----

--=./ztBqfQou+sAIV--