Subject: Build can't find includes
To: None <current-users@NetBSD.ORG>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@MindBender.serv.net>
List: current-users
Date: 10/19/1997 12:06:24
OK, anyone know why after supping last night whenever I try to build
in most directories, it can't find includes? Everything was working
fine with current of a little over a month ago (9/21, to be exact).
Yes, I did "make includes" in /usr/src/. I then rebuild make. I then
installed from /usr/src/share/mk/.
The problems I get look like this:
[root@MindBender]src/usr.sbin/config# make cleandir obj depend
rm -f a.out [Ee]rrs mklog core *.core config files.o gram.o hash.o main.o mkheaders.o mkioconf.o mkmakefile.o mkswap.o pack.o scan.o sem.o util.o files.ln hash.ln main.ln mkheaders.ln mkioconf.ln mkmakefile.ln mkswap.ln pack.ln sem.ln util.ln y.tab.h scan.c gram.c
rm -f config.cat8
rm -f .depend /usr/src/usr.sbin/config/tags
/u/src/usr.sbin/config/obj -> /usr/obj/usr.sbin/config
flex /usr/src/usr.sbin/config/scan.l
mv lex.yy.c scan.c
yacc -d /usr/src/usr.sbin/config/gram.y
mv y.tab.c gram.c
mkdep -a -I/usr/src/usr.sbin/config -I. /usr/src/usr.sbin/config/files.c /usr/src/usr.sbin/config/hash.c /usr/src/usr.sbin/config/main.c /usr/src/usr.sbin/config/mkheaders.c /usr/src/usr.sbin/config/mkioconf.c /usr/src/usr.sbin/config/mkmakefile.c /usr/src/usr.sbin/config/mkswap.c /usr/src/usr.sbin/config/pack.c /usr/src/usr.sbin/config/sem.c /usr/src/usr.sbin/config/util.c scan.c gram.c
[root@MindBender]src/usr.sbin/config# make all
flex /usr/src/usr.sbin/config/scan.l
mv lex.yy.c scan.c
yacc -d /usr/src/usr.sbin/config/gram.y
mv y.tab.c gram.c
make: don't know how to make /usr/include/sys/param.h(continuing)
make: don't know how to make /usr/include/sys/types.h(continuing)
make: don't know how to make /usr/include/machine/types.h(continuing)
make: don't know how to make /usr/include/sys/cdefs.h(continuing)
make: don't know how to make /usr/include/machine/cdefs.h(continuing)
make: don't know how to make /usr/include/machine/ansi.h(continuing)
make: don't know how to make /usr/include/machine/endian.h(continuing)
make: don't know how to make /usr/include/sys/syslimits.h(continuing)
make: don't know how to make /usr/include/sys/signal.h(continuing)
make: don't know how to make /usr/include/machine/signal.h(continuing)
make: don't know how to make /usr/include/machine/trap.h(continuing)
make: don't know how to make /usr/include/machine/param.h(continuing)
make: don't know how to make /usr/include/machine/limits.h(continuing)
make: don't know how to make /usr/include/errno.h(continuing)
make: don't know how to make /usr/include/stdio.h(continuing)
make: don't know how to make /usr/include/sys/unistd.h(continuing)
make: don't know how to make /usr/include/sys/time.h(continuing)
make: don't know how to make /usr/include/sys/stat.h(continuing)
make: don't know how to make /usr/include/stdarg.h(continuing)
nroff -mandoc /usr/src/usr.sbin/config/config.8 > config.cat8
`all' not remade because of errors.
All the files it's complaining about above do exist. Some other
things I try to build can't find headers and/or source in their own
directory.
For what it's worth, all my binaries and libraries are current from
9/21. My kernel is still from 1.2.1. Although it occasionally gives
me problems with some binaries (like w and the mem/proc stuff), it had
been working correctly with all the build tools. I was attempting to
get to the point of building a current kernel, since I just got a new
motherboard (old motherboard wouldn't run a current kernel). Now I
can't build hardly anything.
Any idea what's up?
-----------------------------------------------------------------------------
Michael L. VanLoon michaelv@MindBender.serv.net
Contract software development for Windows NT, Windows 95 and Unix.
Windows NT and Unix server development in C++ and C.
--< Free your mind and your machine -- NetBSD free un*x >--
NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3,
Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
NetBSD ports in progress: PICA, others...
-----------------------------------------------------------------------------