Subject: Re: 2.0_BETA fails build in tools/compat, misses cdefs_elf.h ?
To: S.P.Zeidler <firstname.lastname@example.org>
From: None <email@example.com>
Date: 08/05/2004 08:34:09
On Thu, Aug 05, 2004 at 06:17:36AM +0000, S.P.Zeidler wrote:
> upon trying to have a 2.0_BETA system build itself on a newer version
> of that train by
> ./build.sh -U -D /data/systree/snap build > & /var/tmp/build20.log &
> I got
> # compile compat/_warnx.lo
> cc -O -I. -I./include -I/data/cvs/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
> -c -o _warnx.lo.o /data/cvs/src/lib/libc/gen/_warnx.c
> mv _warnx.lo.o _warnx.lo
> nbmake: don't know how to make /usr/include/sys/cdefs_elf.h". Stop
> nbmake: stopped in /data/cvs/src/tools/compat
> The system is:
> 0% uname -a
> NetBSD serpens.de 2.0_BETA NetBSD 2.0_BETA (SERPENS) #0: Sat Jun 26
> 03:50:55 MEST 2004
> The new sourcetree is from Aug 4th.
> Obviously, the cdefs_elf.h reference comes from the sys/cdefs.h include
> in /data/cvs/src/lib/libc/gen/_warnx.c, but how did it manage to attach
> a " to the path name? /usr/include/sys/cdefs_elf.h does exist, so my guess
> is the lonely " is in fact the problem.
You're confused. The compilation of _warnx.c seems to work since it's
nbmake that gets an error, after the said compilation.
I think that you have a botched depend file. Was the OBJDIR clean before
you started buildling?