Subject: current build problem: signal.h
To: None <current-users@netbsd.org>
From: tom hensel <tom@replic8.net>
List: current-users
Date: 09/17/2003 11:23:48
--=.qT3+jry)laeGHt
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hi,

trying to upgrade pkg_install in pkgsrc, source- and pkgsrc-tree
freshly updated.

==snip==
$ uname -a
NetBSD aural 1.6Z NetBSD 1.6Z (AURAL) #3: Thu Sep 11 13:00:03 CEST 2003  root@aural:/usr/src/sys/arch/i386/compile/AURAL i386
==snap==

running make update:

==snip==
===> Building for pkg_install-20030914
cc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\"   -I. -I. -O2 -pipe -march=pentiumpro -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -c exec.c
In file included from /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:60,
                 from exec.c:6:
/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...

-- 
regards,
TOM

Key fingerprint = 1862 006F B4A8 7C65 5704  63A3 663F 5F19 6E72 53CF

--=.qT3+jry)laeGHt
Content-Type: application/pgp-signature

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

iD8DBQE/aCgnZj9fGW5yU88RAosrAKCeU3wq4IiePVAmS++fP/nBzMcdiQCfbzfZ
x+Y1z936q21nyZOla86VfVs=
=JVt4
-----END PGP SIGNATURE-----

--=.qT3+jry)laeGHt--