Subject: Re: today's i386 src build fails
To: None <tech-kern@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: tech-kern
Date: 01/20/2003 00:51:39
Joe Reed wrote:
> $ uname -a
> NetBSD bork 1.6K NetBSD 1.6K (BORK) #0: Thu Dec 26 22:00:02 EST 2002
> root@bork:/usr/src/sys/arch/i386/compile/MYKERN i386
>
> $ cd /usr/src && ./build.sh -k MYKERN
>
> ... snip...
> /usr/src/sys/compat/mach/mach_clock.c: In function
> `mach_sys_clock_sleep_trap':
> /usr/src/sys/compat/mach/mach_clock.c:61: argument `p' doesn't match prototype
> /usr/src/sys/compat/mach/mach_syscallargs.h:191: prototype declaration
> /usr/src/sys/compat/mach/mach_clock.c: In function `mach_sys_timebase_info':
> /usr/src/sys/compat/mach/mach_clock.c:111: argument `p' doesn't match
> prototype
> /usr/src/sys/compat/mach/mach_syscallargs.h:192: prototype declaration
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/sys/arch/i386/compile/MYKERN
I saw this on macppc as well. After commenting out COMPAT_MACH and
EXEC_MACHO, my kernel built (and runs). See also PR kern/19911.
- Amitai