Subject: Re: Unable to build GENERIC
To: Tillman Hodgson <tillman@seekingfire.com>
From: Wouter Klouwen <dublet@dublet.org>
List: port-sparc
Date: 09/01/2004 17:46:47
Tillman Hodgson(tillman@seekingfire.com) said 2004.09.01 09:34:38 +0000:
> First, I'd like to apologize for my ack of familiarity with the NetBSD
> build system. As I've started to accumulate a fair number of NetBSD
> boxes, getting familiar with it is now a priority for me :-)
You'll learn.
> I before designing and building a custom kernel for my SS10, I wanted to
> time building the default GENERIC kernel. However .... :
You might want to read your sentences before you send your emails. :D
> [root@surya /usr/src/sys/arch/sparc/conf]# uname -a
> NetBSD surya.seekingfire.prv 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Thu Aug 19 00:40:38 CDT 2004 root@smedley.mrynet.com:/tiny/obj/sparc-2-0/sys/arch/sparc/compile/GENERIC sparc
> [root@surya /usr/src/sys/arch/sparc/conf]# cp GENERIC SURYA
> [root@surya /usr/src/sys/arch/sparc/conf]# config SURYA
> ../../../../net/files.pf:16: syntax error
> *** Stop.
>
> This happened a few days ago. I updated my src this morning with `cvs -d
> $CVSROOT update -PAd src` and tried again, same result.
>
> Am I going about building the kernel the wrong way? (I'm following
> chapter 19 and chapter 9 from the guide). Is -current broken at the
> moment?
Please use build.sh in /usr/src. Also please not that the FreeBSD guide does
not apply to NetBSD.
http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel
What you want is:
# build.sh tools kernel=GENERIC
> Thanks for provisioning of clue,
>
> -T
--Wouter