Subject: Re: sparc64 error when compiling kernel
To: None <port-sparc64@netbsd.org>
From: gaspo <gaspolo@gmail.com>
List: port-sparc64
Date: 02/18/2005 01:34:45
but i havent build.sh on my netbsd...
i search also with find and there isnt...
On Fri, 18 Feb 2005 01:26:22 +0100, gaspo <gaspolo@gmail.com> wrote:
> but i havent build.sh on my netbsd...
> i search also with find and there isnt...
>
>
> On Fri, 18 Feb 2005 01:22:29 +0100, gaspo <gaspolo@gmail.com> wrote:
> > now i make:
> > rm -rf /usr/src/sys
> > and reinstall kernel source...
> > and make your version of command...
> >
> >
> > On Fri, 18 Feb 2005 00:22:28 +0000, sigsegv@rambler.ru
> > <sigsegv@rambler.ru> wrote:
> > > gaspo wrote:
> > > > netbsd% uname -a
> > > > NetBSD netbsd.fastwebnet.it 2.0 NetBSD 2.0 (GENERIC) #0: Thu Dec 2
> > > > 02:49:29 UTC 2004
> > > > builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc64/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/sparc64/compile/GENERIC
> > > > sparc64
> > > > netbsd%
> > > >
> > > > i havent mk.conf in /etc/
> > > > netbsd% pwd
> > > > /usr/src/sys/arch/sparc64/conf/
> > > > netbsd%
> > > >
> > > > i download kernel source for netbsd 2.0
> > > >
> > >
> > > Have you got a backup of GENERIC config file, which you haven't modified
> > > yourself? Maybe you removed some options which break kernel build.
> > > Obtain unmodified GENERIC config file for sparc64 port and try the
> > > following to build a kernel. If it builds OK, then you know there is
> > > nothing wrong with the tools or kernel sources and THEN backup GENERIC
> > > to GENERIC.orig and add your custom options to GENERIC and try building
> > > new kernel again
> > >
> > > cd /usr/src && ./build.sh -m sparc64 \
> > > -O /usr/obj.sparc64 -T /usr/tools.sparc64 \
> > > tools
> > > cd /usr/src && ./build.sh -u -m sparc64 \
> > > -O /usr/obj.sparc64 -T /usr/tools.sparc64 \
> > > kernel=GENERIC
> > >
> >
>