Subject: Re: CVS commit: syssrc/sys
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: source-changes
Date: 11/13/2002 20:27:45
On Wed, Nov 13, 2002 at 01:40:24AM +0200, Emmanuel Dreyfus wrote:
> 
> Module Name:	syssrc
> Committed By:	manu
> Date:		Tue Nov 12 23:40:24 UTC 2002
> 
> Modified Files:
> 	syssrc/sys/arch/powerpc/conf: files.powerpc
> 	syssrc/sys/compat/darwin: darwin_syscall.h darwin_syscallargs.h
> 	    darwin_syscalls.c darwin_sysent.c syscalls.conf
> 	syssrc/sys/conf: files
> 	syssrc/sys/kern: exec_conf.c
> Added Files:
> 	syssrc/sys/compat/darwin: darwin_exec.c darwin_exec.h files.darwin
> 
> Log Message:
> The kernel now builds with COMPAT_DARWIN.

GENERIC + COMPAT_DARWIN:

/usr/obj/TOOLS/bin/powerpc--netbsd-gcc  -msoft-float  -ffreestanding
-O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-uninitialized  -Dmacppc -I.  -I/usr/src/current/src/sys/arch
-I/usr/src/current/src/sys -nostdinc -DLKM -DDIAGNOSTIC
-DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -c vers.c
/usr/obj/TOOLS/bin/powerpc--netbsd-ld -N -Ttext 0x100000 -e __start -S
-o netbsd ${SYSTEM_OBJ} vers.o
darwin_exec.o(.rodata+0x84): undefined reference to
`mach_syscall_intern'
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/sys/arch/macppc/compile/DARWIN
New kernel should be in
/usr/src/current/src/sys/arch/macppc/compile/DARWIN
fnord# 

could this be the cross compile?

-- 
 charlie@rubberduck.com
 http://rubberduck.com/yeled/pgp.txt