Subject: Re: New 2.0 snapshot available
To: Christian Smith <csmith@micromuse.com>
From: Antti Kantee <pooka@cs.hut.fi>
List: port-sgimips
Date: 09/03/2004 01:28:30
On Thu Sep 02 2004 at 23:22:27 +0100, Christian Smith wrote:
> Problem is, I'm trying to cross compile from a Debian Linux machine, but
> fail when building the tools. I'm using (source in /scratch/tmp/src):
> $ ./build.sh -T /scratch/tmp/src/cross -U -m sgimips tools
>
> But fail when building sgivol:
>
> /scratch/tmp/src/cross/bin/nbhost-mkdep -d -f .depend -s .lo\ .ln sgivol.d
> # compile sgivol/sgivol.lo
> cc -O -I/scratch/tmp/src/tools/compat/obj -I/scratch/tmp/src/tools/compat/obj/include -I/scratch/tmp/src/tools/sgivol/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o sgivol.lo.o /scratch/tmp/src/sys/arch/sgimips/stand/sgivol/sgivol.c
> /scratch/tmp/src/sys/arch/sgimips/stand/sgivol/sgivol.c:42:27: sys/disklabel.h: No such file or directory
> ...
>
>
> Am I doing something fundamentally wrong? src/tools/compat/README
> indicates cross builds are fine on RH, so I wouldn't expect Debian to be
> much different.
Hmm. I know sgivol used to be broken when cross-compiling from a
non-(Net?)BSD box, but I thought it was fixed. As a really quick hack
if you just want to build the kernel, you can comment out building sgivol
from src/tools/Makefile.
If someone doesn't fix sgivol soon, I will, and that won't be a pretty
sight!
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"connoisseurs do not chill their malts."