Subject: Failed to build -current: undefined boolean_t in sys/systm.h
To: None <current-users@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 03/07/2006 17:48:28
$ uname -a
NetBSD NBSD1 3.99.15 NetBSD 3.99.15 (GENERIC) #0: Mon Jan 30 20:30:49 NOVT 
2006  toor@NBSD1:/usr/build/obj/i386/sys/arch/i386/compile/GENERIC i386

-current from today's CVS.

---cut---
#   compile  libc/adjtime.ln
CC=/usr/build/tools/i386/bin/i386--netbsdelf-gcc /usr/build/tools/i386/bin/i386--netbsdelf-lint 
-chapbxzFS -w 
-X 272 -d /usr/build/dest/i386/usr/include  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -I/usr/src/lib/lib
c/include -I/usr/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP 
-I/usr/src/lib/libc/../../common/lib/libc/quad -I/us
r/src/lib/libc/../../common/lib/libc/string 
-I/usr/src/lib/libc/../../common/lib/libc/arch/i386/string -D__DBI
NTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/src/sys 
-I/usr/src/lib/libc/stdlib -I/usr/src/libexec/ld
.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/arch/i386/gdtoa 
-DNO_FENV_H -DCITRUS_ICONV -DWITH_RUNE -
I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DALL_STATE 
-DUSG_COMPAT    -i /usr/src/lib/libc/sy
s/adjtime.c
/usr/src/sys/sys/systm.h(356): syntax error [249]

*** Failed target:  adjtime.ln
*** Failed command: 
CC=/usr/build/tools/i386/bin/i386--netbsdelf-gcc /usr/build/tools/i386/bin/i386--netbsdelf
-lint -chapbxzFS -w -X 272 -d /usr/build/dest/i386/usr/include -D_LIBC 
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
 -I/usr/src/lib/libc/include -I/usr/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP 
-I/usr/src/lib/libc/../../common/
lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string 
-I/usr/src/lib/libc/../../common/lib/libc/arch/
i386/string -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/usr/src/sys -I/usr/src/lib/libc/stdlib -I
/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn 
-I/usr/src/lib/libc/arch/i386/gdtoa -DNO_FENV_H -DCITRUS_
ICONV -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP 
-DALL_STATE -DUSG_COMPAT -i /usr
/src/lib/libc/sys/adjtime.c
*** Error code 1
---cut---

Looks like sys/types.h should be included in systm.h ?

// wbr