From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 16:47:23 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 18D3E16A41F for ; Mon, 2 Jan 2006 16:47:23 +0000 (GMT) (envelope-from crispy.beef@ntlworld.com) Received: from mta09-winn.ispmail.ntl.com (mta09-winn.ispmail.ntl.com [81.103.221.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58B6243D53 for ; Mon, 2 Jan 2006 16:47:21 +0000 (GMT) (envelope-from crispy.beef@ntlworld.com) Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35]) by mta09-winn.ispmail.ntl.com with ESMTP id <20060102164720.XLCO8609.mta09-winn.ispmail.ntl.com@aamta11-winn.ispmail.ntl.com> for ; Mon, 2 Jan 2006 16:47:20 +0000 Received: from [192.168.0.10] (really [82.12.81.129]) by aamta11-winn.ispmail.ntl.com with ESMTP id <20060102164720.OOML29634.aamta11-winn.ispmail.ntl.com@[192.168.0.10]> for ; Mon, 2 Jan 2006 16:47:20 +0000 Message-ID: <43B95916.1070905@ntlworld.com> Date: Mon, 02 Jan 2006 16:47:18 +0000 From: Crispy Beef User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43B951B4.1060601@ntlworld.com> <1136219956.14849.7.camel@lmail.bathnetworks.co.uk> In-Reply-To: <1136219956.14849.7.camel@lmail.bathnetworks.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Kernel Compilation... 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: Mon, 02 Jan 2006 16:47:23 -0000 Robert Slade wrote: > On Mon, 2006-01-02 at 16:15, Crispy Beef wrote: > >>Hi All, >> >>Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so >>a while ago now. I have just installed 6.0-RELEASE on my old laptop and have >>been configuring the system, am onto the kernel at the moment, have followed >>the traditional method in the FreeBSD handbook. All works fine (make depends) >>until I do 'make' then I get a compilation error as follows: >> >>-------------------------------------------------------------------- >>/usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617: >>internal compiler error: Segmentation fault: 11 >>Please submit a full bug report, >>with preprocessed source if appropriate. >>See for instructions. >>*** Error code 1 >> >>Stop in /usr/src/sys/modules/ata/atapci. >>*** Error code 1 >> >>Stop in /usr/src/sys/modules/ata. >>*** Error code 1 >> >>Stop in /usr/src/sys/modules. >>*** Error code 1 >> >>Stop in /usr/src/sys/i386/compile/LAPTOP. >>-------------------------------------------------------------------- >> >>Last time I had an error with USB Mass Storage do I disabled it in my config >>hoping the kernel would compile, am starting to think this is something a bit >>more serious. >> >>Any thoughts? >> >>-- >>Paul > > > Paul, > > Welcome. > > If you will take some advise from a 'newbe' I suggest that you use the > new method - I have done a kernel compile quite a few times with no > problems using it. > > The only time I had problems with compiling was when I got the config > file wrong. I did find that after a failed compile I needed to clear out > the old obj libraries before trying again. > > Rob Will take advice from anybody. :-) Whenever I have a failed compile I generally do a 'make cleandepends' and make clean first just to make sure it's all going from scratch. Might try the new method later and see if that gives me better results. Cheers. Paul