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 13:04:32
Joe Reed wrote:

> i get the error even with COMPAT_MACH and EXEC_MACHO commented out.  I `rm 
> -Rf` compile/MYKERN, re-config'd it, and did a make depend && make.  i still 
> get the error.  i don't know why it's even bothering to compile the compat 
> stuff.  
> 
> options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries

Try commenting out this option (it isn't enabled in i386 GENERIC).
>From options(4):

     options COMPAT_DARWIN
     On those architectures that support it, this enables binary compatibility
     with Darwin applications built for the same architecture.  This feature
     is highly experimental, it requires COMPAT_MACH and EXEC_MACHO and it is
     currently limited to i386 and powerpc ports of NetBSD.

- Amitai