From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 07:59:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3B4F16A41C for ; Thu, 7 Jul 2005 07:59:56 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4626643D46 for ; Thu, 7 Jul 2005 07:59:48 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 12877 invoked by uid 207); 7 Jul 2005 07:59:45 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.37):. Processed in 1.019343 secs); 07 Jul 2005 07:59:45 -0000 Received: from dialup37.ach.sch.gr (HELO gothmog.gr) ([81.186.70.37]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jul 2005 07:59:43 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j677xbiA037639; Thu, 7 Jul 2005 10:59:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j677xaql037637; Thu, 7 Jul 2005 10:59:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 7 Jul 2005 10:59:31 +0300 From: Giorgos Keramidas To: Piotr Baranowski Message-ID: <20050707075930.GA36927@gothmog.gr> References: <1137466184.20050707023452@o2.pl> <20050707004656.GA32044@xor.obsecurity.org> <1185062865.20050707032014@o2.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1185062865.20050707032014@o2.pl> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel compiling error on FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 07:59:57 -0000 On 2005-07-07 03:20, Piotr Baranowski wrote: > KK> Show us the exact error and exactly what you did, we can't help if > KK> you're vague about it. > > what i did was: > 1) cd /usr/src/sys/i386/conf > 2) cp GENERIC OWIEC > 3) editing OWIEC > 4) config OWIEC > 5) cd ../compile/OWIEC > 6) make depend > 7) had errors > 8) make -a D depend > 9) seen errors ;-) That's wrong. You are trying to build just a kernel, before a userland has been compiled. Use "make buildworld" and "make buildkernel", unless you know exactly what you are doing and why. > then i used second method > 1) cd /usr/src > 2) make buildkernel KERNCONF=OWIEC > 3) had errors > 4) make -a D buildkernel KERNCONF=OWIEC > 5) same errors here ;-) > > exact errors would take very much space ;-) > at first blocks of theese err's: > > cc: #: No such file of directory > cc: parents:: No such file or directory > cc: kernel: No such file or directory > cc: vers.c: No such file or directory > cc: harvest.o: No such file or directory > cc: :: No such file or directory > cc: ${NORMAL_C}: No such file or directory > cc: randomdev.ln: No such file or directory > cc: ${NORMAL_LINT}: No such file or directory > > and so on.. > and after that, block of many: > > cc1: error: unrecognized command line option "-f" Hmmm. You haven't by any chance overwritten the system version of make(1) with GNU make, right? What do you see when you try to run the command: # make --version