Subject: Re: -current failed to compile
To: None <ks@ub.uni-mainz.de>
From: Juan RP <jrp@hispabsd.org>
List: current-users
Date: 07/21/2003 23:29:57
--=.G+R,fWPKxh4Ka+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 21 Jul 2003 23:19:38 +0200
Kurt Schreiner <ks@ub.uni-mainz.de> wrote:

> 
> Hi,
> 
> just tried to compile a freshly fetched current and got:
> 
> ===> build.sh command: ./build.sh -o -u -j 1 -m i386 -O /u/NetBSD/arch/i386/obj -D /u/NetBSD/arch/i386/dest -T /u/NetBSD/arch/i386/TOOLS tools
> ===> build.sh started: Mon Jul 21 23:05:22 MEST 2003
> ===> MACHINE:          i386
> ===> MACHINE_ARCH:     i386
> ===> TOOLDIR path:     /u/NetBSD/arch/i386/TOOLS
> ===> DESTDIR path:     /u/NetBSD/arch/i386/dest
> ===> RELEASEDIR path:  /u/NetBSD/arch/i386/obj/releasedir
> ===> makewrapper:      /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
> ===> Updated /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
> echo /u/NetBSD/arch/i386/TOOLS > PREVIOUSTOOLDIR
> dependall ===> host-mkdep
> install ===> host-mkdep
> dependall ===> compat
> cc -O2 -march=i686  -I. -I./include -I/usr/src/tools/compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -D__DBINTERFACE_PRIVATE -c -o bt_open.lo.o /usr/src/tools/compat/../../lib/libc/db/btree/bt_open.c
> In file included from /usr/src/tools/compat/../../lib/libc/db/btree/bt_open.c:62:
> /usr/include/signal.h:70: parse error before `int'

Try to add "<pthread_types.h>" to /usr/include/signal.h, it works to me,
another option is copy the signal.h header of src/include/signal.h
to /usr/include.

HTH,

-- 
Juan RP		<jrp@hispabsd.org>
--

--=.G+R,fWPKxh4Ka+
Content-Type: application/pgp-signature

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

iD8DBQE/HFtXmOEpHEa5ttcRAh7OAJ4oPpwR/6BRUMsgaOXKnwgtWyLwcwCfZvpE
8bQXc5/9M1lncA0inqjUPDI=
=hwlY
-----END PGP SIGNATURE-----

--=.G+R,fWPKxh4Ka+--