Subject: Re: Failed to build -current: undefined boolean_t in sys/systm.h
To: None <ianzag@megasignal.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 03/07/2006 15:18:02
On 07/03/06, Ian Zagorskih <ianzag@megasignal.com> wrote:
> $ uname -a
> NetBSD NBSD1 3.99.15 NetBSD 3.99.15 (GENERIC) #0: Mon Jan 30 20:30:49 NOV=
T
> 2006 toor@NBSD1:/usr/build/obj/i386/sys/arch/i386/compile/GENERIC i386
>
> -current from today's CVS.
>
> ---cut---
> # compile libc/adjtime.ln
> CC=3D/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=3D4 -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=3D/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=3D4 -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 -DPOR=
TMAP
> -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 ?
I replaced the type with 'int' and just completed a successful
build.sh release.
>
> // wbr
>