Subject: Re: Building mac68k-current on Mac OS X : "__nbcompat_user_from_uid" error
To: None <netbsd-help@netbsd.org>
From: Joel Rees <joel_rees@sannet.ne.jp>
List: netbsd-help
Date: 11/12/2004 22:55:56
On 2004.11.12, at 12:42 AM, Gerardo Alvarez wrote:

> I have been trying to compile mac68k -current on Mac OS X.
> After checking the docs I understood this is entirely possible.

Theoretically.

However, I don't recall hearing any success stories. (Otherwise, rather 
than have Bruce compiling the soft-float stuff by remote on John Klos's 
server, we'd probably have him doing it on mine. Or on someone's more 
recent, higher powered Mac OS X box.

> So I downloaded the tarballs from 
> ftp://ftp.es.NetBSD.org/pub/NetBSD/NetBSD-current/tar_files/src/
> ungzipped and untarred them in my disk and then (adapted from a 
> message in the list):
>
> cd /Volumes/almacen/DOWNLOAD/NETBSD/SOURCE/src && ./build.sh -U -T 
> /Volumes/almacen/DOWNLOAD/NETBSD/SOURCE/tools -m mac68k -D 
> /Volumes/almacen/DOWNLOAD/NETBSD/SOURCE/build tools >> 
> /Volumes/almacen/DOWNLOAD/NETBSD/SOURCE/build68k.log
>
> .-Is this the correct syntax to build the toolchain on Mac OS X, and 
> then (later) compile the mac68k code (also) on Mac OS X?
>
> This is the message I get in the "terminal". I tried building as 
> superuser

Not a good idea. If you have to be superuser for a cross-compile, 
there's something fundamentally wrong with your approach.

...