Building amd64 kernel problems (missing kernel configuration files)

Adam Vande More amvandemore at gmail.com
Thu Jun 10 03:01:53 UTC 2010


On Wed, Jun 9, 2010 at 8:38 PM, Jerry Bell <jerry.bell at gmail.com> wrote:

> I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64
> kernel.
>
> I have copied /usr/src/sys/amd64/conf/GENERIC to
> /usr/src/sys/amd64/conf/JERRY
>
> Then, I run "make buildkernel KERNCONF=JERRY" in /usr/src and get the
> following error:
> ERROR: Missing kernel configuration file(s) (JERRY).
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> It seems to want JERRY to be in i386/conf.  If I copy JERRY to i386/conf
> and
> run "make buildkernel KERNCONF=JERRY", I get the following error:
> --------------------------------------------------------------
> >>> Kernel build for JERRY started on Wed Jun  9 20:50:30 EDT 2010
> --------------------------------------------------------------
> ===> JERRY
> mkdir -p /usr/obj/usr/src/sys
>
> --------------------------------------------------------------
> >>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/sys/i386/conf;
>
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> config  -d /usr/obj/usr/src/sys/JERRY  /usr/src/sys/i386/conf/JERRY
> /usr/src/sys/i386/conf/JERRY: unknown option "HAMMER"
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> I know I'm missing something simple, but can't quite figure out what it is.
>



I think you have to set TARGET_ARCH=amd64

-- 
Adam Vande More


More information about the freebsd-questions mailing list