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: > >> Hello FreeBSD comunity, >> >> Got yesterday following issue with #263665: >> >> # make kernel >> >> >> -------------------------------------------------------------- >>>>> Kernel build for COBALT started on Sun Mar 23 17:44:45 EET 2014 >> -------------------------------------------------------------- >> ===> COBALT >> mkdir -p /usr/obj/usr/src/sys >> >> >> -------------------------------------------------------------- >>>>> stage 1: configuring the kernel >> -------------------------------------------------------------- >> cd /usr/src/sys/amd64/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/legacy/bin:/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 >> >> >> Stop. >> make[1]: stopped in /usr/src >> *** Error code 1 >> >> >> Stop. >> make: stopped in /usr/src >> >> 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 >> > > Hi, > > 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… 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>
