Subject: Re: NetBSD 2.1 problem on SS20
To: None <port-sparc@netbsd.org>
From: Bernd Sieker <bsieker@rvs.uni-bielefeld.de>
List: port-sparc
Date: 12/11/2005 12:03:38
On 11.12.05, 12:00:51, Laurens Vets wrote:
> >>I compiled a GENERIC.MP kernel on my SparcStation 20 (NetBSD 2.1) 
> >>according to the following document: 
> >>http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel. 
> >
> >
> >The build.sh script now simplifies this process, just type "./build.sh
> >-m sparc kernel=YOURCONF" in the top level src directory. The kernel
> >will be in src/sys/arch/sparc/compile/obj/YOURCONF
> >                                     ^^^^
> >		      not that this path element is different
> >		      to building the kernel manually
> 
> Thanks for you answer, however, I now get the following error:
> 
> #    objdir /usr/obj/sys/arch/spqrc/compile
> ===> Building kernel:    GENERIC.MP
> ===> Building directory: /usr/src/sys/arch/sparc/compile/obj/GENERIC.MP
> rm -f a.out [Ee]rrs mklog core *.core .gdbinit
> ./build.sh: /usr/src/tooldir.NetBSD-2.1-sparc/bin/nbconfig: not found
> 
> ERROR: nbconfig failed for GENERIC.MP
> *** BUILD ABORTED ***
> #

Maybe build the tools first, like this:
  ./build.sh -m sparc tools

It thought the other targets would build the tools if needed, but
I'm not sure.

> 
> Any ideas?  Thanks in advance!

-- 
Bernd Sieker

NetBSD: When Linux ports to that platform, they will discover -
        WE HAVE ALWAYS BEEN HERE
		-- David Maxwell