From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 19 11:03:36 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1E5B106566C for ; Thu, 19 Jan 2012 11:03:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA758FC19 for ; Thu, 19 Jan 2012 11:03:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-70-110.dynamic.qsc.de [92.195.70.110]) by mx01.qsc.de (Postfix) with ESMTP id 842473DB6D; Thu, 19 Jan 2012 11:44:25 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q0JAiOiS002882; Thu, 19 Jan 2012 11:44:25 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 19 Jan 2012 11:44:24 +0100 From: Polytropon To: Artem Gocharenko Message-Id: <20120119114424.b616f86f.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org Subject: Re: Dont make Kernel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 11:03:37 -0000 On Thu, 19 Jan 2012 14:12:18 +0400, Artem Gocharenko wrote: > vpn123# cd /usr/src/sys/i386/conf/ > vpn123# config GENERIC.current > Kernel build directory is ../compile/GENERIC.current > Don't forget to do ``make cleandepend && make depend'' > vpn123# cd ../compile/GENERIC.current/ > vpn123# make cleandepend && make depend > rm -f .depend machine > cd ../../../modules; > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/GENERIC.current/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/src/sys/i386/compile/GENERIC.current" > SYSDIR="/usr/src/sys/i386/compile/GENERIC.current/../../.." make > cleandepend > "Makefile", line 371: Malformed conditional (${MK_INET_SUPPORT} != "no" || > defined(ALL_MODULES)) > "Makefile", line 373: if-less endif > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/GENERIC.current. > vpn123# > > Please , help me Did you also try the "now normal" way of performing the kernel compiling? See "9.5 Building and Installing a Custom Kernel" in the FreeBSD handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Try the basic steps: # cd /usr/src # make clean # make buildkernel KERNCONF=GENERIC.current Also see the comment header of /usr/src/Makefile which illustrates the full upgrading process (kernel and world). The error message "Makefile", line 371: Malformed conditional (${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)) "Makefile", line 373: if-less endif indicates the problem. Maybe you should, just to be sure, make sure your sources are complete and current (e. g. use csup to re-get them from CVS), and start building in a clean environment. Also make sure /usr/obj doesn't contain any old stuff. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...