Subject: Trouble building current userland
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: current-users
Date: 12/07/1999 18:15:51
Platform i386

With "setenv DESTDIR /usr/src/ELF;cd /usr/src;make build" I get:

cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I../../../../../../lib/libkern/arch/i386 -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -I../../../../../../../gnu/sys -DLKM -DDIAGNOSTIC -DDEBUG -DEXEC_ELF -DMAXUSERS=16 -D_KERNEL -Di386  -nostdinc -idirafter /usr/src/ELF/usr/include -c -traditional-cpp ../../../../../../lib/libkern/arch/i386/strrchr.S
make: don't know how to make ../../../../../../lib/libkern/arch/i386/DEFS.h. Stop
*** Error code 2

Stop.
cc  -pipe -Wno-error -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -I../../../../../gnu/sys -DLKM -DDIAGNOSTIC -DNKMEMCLUSTERS="(4 * (6 * 1024 * 1024 / CLBYTES))" -DNMBCLUSTERS="0x800" -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../kern/kern_malloc.c
../../../../kern/kern_malloc.c: In function `kmeminit':
../../../../kern/kern_malloc.c:611: `CLBYTES' undeclared (first use in this function)
../../../../kern/kern_malloc.c:611: (Each undeclared identifier is reported only once
../../../../kern/kern_malloc.c:611: for each function it appears in.)

What did I do wrong?

TIA,
Paul
newhouse@rockhead.com