Subject: sparc64 build.sh fails
To: None <current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 10/16/2003 15:56:00
From todays build (sparc64 on i386):

dependall ===> sys/lkm/compat/sunos32
...
/obj/sparc64/tooldir.NetBSD-1.6N-i386/bin/sparc64--netbsd-gcc -O2 -ffreestanding  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   -DCOMPAT_SUNOS -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc -nostdinc -I. -I/src/sys/lkm/compat/sunos32 -isystem /src/sys -isystem /src/sys/arch -D_KERNEL -D_LKM  -c    /src/sys/compat/sunos32/sunos32_ioctl.c
In file included from /src/sys/compat/sunos32/sunos32_ioctl.c:90:
/src/sys/compat/netbsd32/netbsd32.h:529: error: parse error before '*' token
/src/sys/compat/netbsd32/netbsd32.h:530: error: parse error before "siginfo32_t"

Tracked down as:

	siginfo32_t is defined in sys/sys/siginfo.h only if
	_KERNEL and COMPAT_NETBSD32 are defined.

	Looks like COMPAT_NETBSD32 is missing.
-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)