Date: Sun, 23 Mar 2014 11:37:11 -0600 From: Warner Losh <imp@bsdimp.com> To: Milan Obuch <freebsd-current@dino.sk> Cc: Vladimir Sharun <atz@ukr.net>, freebsd-current@freebsd.org Subject: Re: Unable to build kernel #263665 "config: illegal option -- I" Message-ID: <865AE663-130E-4464-9B8C-802B3D140194@bsdimp.com> In-Reply-To: <20140323170631.56e7fa9c@zeta.dino.sk> References: <1395589721.540932862.l6ktcqdb@frv45.fwdcdn.com> <20140323170631.56e7fa9c@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 23, 2014, at 10:06 AM, Milan Obuch <freebsd-current@dino.sk> = wrote: > On Sun, 23 Mar 2014 17:52:40 +0200 > Vladimir Sharun <atz@ukr.net> wrote: >=20 >> Hello FreeBSD comunity, >>=20 >> Got yesterday following issue with #263665: >>=20 >> # make kernel >>=20 >>=20 >> -------------------------------------------------------------- >>>>> Kernel build for COBALT started on Sun Mar 23 17:44:45 EET 2014 >> -------------------------------------------------------------- >> =3D=3D=3D> COBALT >> mkdir -p /usr/obj/usr/src/sys >>=20 >>=20 >> -------------------------------------------------------------- >>>>> stage 1: configuring the kernel >> -------------------------------------------------------------- >> cd /usr/src/sys/amd64/conf; >> = PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us= r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bi= n:/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/COBALT >> -I /usr/src/sys/amd64/conf /usr/src/sys/amd64/conf/COBALT config: >> illegal option -- I usage: config [-CgmpV] [-d destdir] sysname >> config -x kernel *** Error code 64 >>=20 >>=20 >> Stop. >> make[1]: stopped in /usr/src >> *** Error code 1 >>=20 >>=20 >> Stop. >> make: stopped in /usr/src >>=20 >> The same for GENERIC as well. Emptying src.conf and make.conf doesn't >> help. Last kernel succesfully built (the system now runs it) was >> r263345 >>=20 >=20 > Hi, >=20 > did see this (or something similar) too. Cured with 'make > kernel-toolchain' and only then 'make buildkernel'. Could you try tis? config recently added the -I option, so you need to rebuild your = kernel-toolchain before things will work=85 Rebuilding -DNO_CLEAN will = be fast enough. Warner=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?865AE663-130E-4464-9B8C-802B3D140194>