From owner-freebsd-questions@FreeBSD.ORG Wed Jun 21 15:56:00 2006 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 7C96916A4A0 for ; Wed, 21 Jun 2006 15:56:00 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B78D743D49 for ; Wed, 21 Jun 2006 15:55:59 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so174472nzi for ; Wed, 21 Jun 2006 08:55:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MJCFO6iyjeSdaG+yOTarEVxj6ru2FXlTr0sygU7atqXgpTj0hzNO9yEdKneowH3HPzPWGwJs7LedkUkEhN2ZC6Ir7m4jPjYfk7AuQMZvhvAQy/uN+RZaRVM4ysrduBPCqPdrAK4gVEHLUl2WO98gpYXORPzCbTa1P3bJr/FMid8= Received: by 10.36.135.5 with SMTP id i5mr604290nzd; Wed, 21 Jun 2006 08:55:59 -0700 (PDT) Received: by 10.36.182.7 with HTTP; Wed, 21 Jun 2006 08:55:59 -0700 (PDT) Message-ID: Date: Wed, 21 Jun 2006 08:55:59 -0700 From: "Nikolas Britton" To: "Jordi Pavon" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: keramida@ceid.upatras.gr, freebsd-questions@freebsd.org Subject: Re: make buildkernel ERROR ?Why? 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: Wed, 21 Jun 2006 15:56:00 -0000 On 6/21/06, Jordi Pavon wrote: > > >On 2006-06-21 13:23, Jordi Pavon wrote: > > > > > > Hi, this is my first time I customize my kernel. > > > > > > I'm working with Freebsd 6.0, I made a make buildkernel > > > KERNELCONF=ALBABRAIN, and I get this error: > > > "... > > > cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls [...] > > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath > > > -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm > > > -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 > > > -fno-strict-aliasing -mno-align-long-strings > > > -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c > > > linking kernel > > > *** Error code 1 > > > Stop in /usr/obj/usr/src/sys/ALBABRAIN. > > > *** Error code 1 > > > Stop in /usr/src. > > > *** Error code 1 > > > Stop in /usr/src. > > > " > > > Any help will be apreciated!! > > > >This is not the verbatim, unedited log and it is missing the error > >message. You are not building with -j2 or higher, right? > > Yes, you're right I'm not building with -j2 or higher, I just write > "make buildkernel KERNELCONF=ALBABRAIN" > > This is the last 3 lines : > > cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions > -std=c99 -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h > -fno-common -finline-limit=15000 > -fno-strict-aliasing -mno-align-long-strings > -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c > linking kernel > *** Error code 1 > Stop in /usr/obj/usr/src/sys/ALBABRAIN. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > > > > > This is my customized Kernel "ALBABRAIN": > > > " > > > machine i386 > > > cpu I686_CPU > > > ident ALBABRAIN > > > options SCHED_4BSD #4BSD scheduler > > > options INET #InterNETworking > >[...] > > > >Your mailer or something else that handled this message has changed > this > >configuration file too much to make a comparison with GENERIC > easy. Can > >you attach a text/plain MIME version of the configuration file, > please? > > >- Giorgos > > The configuration File is attached, sorry for the Hotmail editor. > > You should be using a kernel override config file thingy (I don't know it's real name). check out the SMP kernel config file for an example. Also post a copy of /etc/make.conf... "cc -c -O -pipe -mcpu=pentiumpro"... it looks like you have some non-standard stuff in make.conf. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/