Subject: Re: -current failed to compile
To: Juan RP <jrp@hispabsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 07/21/2003 15:54:15
On Mon, 21 Jul 2003, Juan RP wrote:

> 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.

The whole point of the way build.sh works is that this shouldn't be
needed. How did the installed (/usr/include) header get broken?

Take care,

Bill