Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 14:18:47 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Maxim V FIlimonov <che@bein.link>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: buildkernel fails on head
Message-ID:  <1D4E40EA-D2AB-499F-8DAF-E0DAB4985DA9@FreeBSD.org>
In-Reply-To: <2096535.O1qKY0qN4C@quad>
References:  <2096535.O1qKY0qN4C@quad>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Oct 2014, at 23:39, Maxim V FIlimonov <che@bein.link> wrote:
>=20
> I'm trying to build the current FreeBSD kernel, and that's what I get:
>=20
> % sudo make buildkernel
>=20
> --------------------------------------------------------------
>>>> Kernel build for GENERIC started on Sun Oct 26 01:39:13 MSK 2014
> --------------------------------------------------------------
> =3D=3D=3D> GENERIC
> mkdir -p /usr/obj/usr/src/head/sys
>=20
> --------------------------------------------------------------
>>>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/head/sys/amd64/conf; =20
> =
PATH=3D/usr/obj/usr/src/head/tmp/legacy/usr/sbin:/usr/obj/usr/src/head/tmp=
/legacy/usr/bin:/usr/obj/usr/src/head/tmp/legacy/usr/games:/usr/obj/usr/sr=
c/head/tmp/legacy/bin:/usr/obj/usr/src/head/tmp/usr/sbin:/usr/obj/usr/src/=
head/tmp/usr/bin:/usr/obj/usr/src/head/tmp/usr/games:/sbin:/bin:/usr/sbin:=
/usr/bin =20
> config  -d /usr/obj/usr/src/head/sys/GENERIC  -I =
'/usr/src/head/sys/amd64/conf'=20
> '/usr/src/head/sys/amd64/conf/GENERIC'
> config: illegal option -- I
> usage: config [-CgmpV] [-d destdir] sysname
>       config -x kernel
> *** Error code 64
>=20
> Stop.
> make[1]: stopped in /usr/src/head
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src/head
>=20
>=20
> is there a workaround for that? Is the kernel build broken?

Your config executable is too old.  Most likely, you need to run "make
kernel-toolchain" first.

-Dimitry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D4E40EA-D2AB-499F-8DAF-E0DAB4985DA9>