Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 00:37:13 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: freebsd 7.1, building kernel
Message-ID:  <20090310003713.0410dbe8@gumby.homeunix.com>
In-Reply-To: <865278.52299.qm@web52107.mail.re2.yahoo.com>
References:  <865278.52299.qm@web52107.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Mar 2009 15:13:55 -0700 (PDT)
gahn <ipfreak@yahoo.com> wrote:

> I am trying to build customized kernel with "device carp" and
> followed kernel building procedure of the handbook. unfortunately it
> is failed:
> 
> lab1# make buildkernel KERNCONF=lab1
> ERROR: Missing kernel configuration file(s) (lab1).
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> -rw-r--r--   1 root  wheel     13 Jun 20  2005 .cvsignore
> -rw-r--r--   1 root  wheel    534 Nov 24 21:59 DEFAULTS
> -rw-r--r--   1 root  wheel  12412 Nov 24 21:59 GENERIC
> -rw-r--r--   1 root  wheel   1745 Nov 24 21:59 GENERIC.hints
> -rw-r--r--   1 root  wheel   1034 Nov 24 21:59 MAC
> -rw-r--r--   1 root  wheel    131 Nov 24 21:59 Makefile
> -rw-r--r--   1 root  wheel  38713 Nov 24 21:59 NOTES
> -rw-r--r--   1 root  wheel   2016 Nov 24 21:59 PAE
> -rw-r--r--   1 root  wheel   3539 Nov 24 21:59 XBOX
> lrwxr-xr-x   1 root  wheel     20 Mar  9 18:08 lab1
> -> /root/kernels/lab1


This appears to be /usr/src/sys/i386/conf/ (note the PAE file), but
the following line suggests you are running amd64.

> FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar  9
> 16:48:31 EDT 2009     admin@lab1:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> but for the kernel name GENERIC, the command work fine:

probably because it's finding the amd64 GENERIC file
in /usr/src/sys/amd64/conf/ rather than your symlink.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090310003713.0410dbe8>