Subject: Re: current isn't building and I think it's /usr/src/sys/sys/endian.h
To: None <current-users@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 12/25/2005 08:46:03
On Sun, 25 Dec 2005, Bernd Ernesti wrote:
> On Sat, Dec 24, 2005 at 09:11:02PM -0800, Hisashi T Fujinaka wrote:
>> I have no ideas, really.
>
> Whats the error you get and on which arch did you try it?
Sorry, I was expecting the answer, "Wait 'til we're finished."
i386-current, error is:
# compile libc/LintSysNoerr.ln
CC=/usr/src/obj.i386/tooldir.NetBSD-3.99.15-i386/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-3.99
.15-i386/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d /usr/src/obj.i386/destdir.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/sr
c/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 -DCITRUS_ICONV -DWI
TH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -DALL_STATE -DUSG_COMPAT
-i LintSysNoerr.c
/usr/src/sys/sys/endian.h(188): syntax error [249]
/usr/src/sys/sys/endian.h(193): warning: zero or negative array dimension [20]
/usr/src/sys/sys/endian.h(193): u undefined [99]
/usr/src/sys/sys/endian.h(193): {}-enclosed initializer required [181]
/usr/src/sys/sys/endian.h(193): non-constant initializer [177]
/usr/src/sys/sys/endian.h(193): warning: old style declaration; add int [1]
/usr/src/sys/sys/endian.h(194): redefinition of p [28]
/usr/src/sys/sys/endian.h(194): {}-enclosed initializer required [181]
/usr/src/sys/sys/endian.h(194): non-constant initializer [177]
/usr/src/sys/sys/endian.h(194): warning: old style declaration; add int [1]
...
etc.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte