From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 23:32:17 2004 Return-Path: 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 793E316A4CE for ; Mon, 29 Nov 2004 23:32:17 +0000 (GMT) Received: from hotmail.com (bay15-f31.bay15.hotmail.com [65.54.185.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 569F043D31 for ; Mon, 29 Nov 2004 23:32:17 +0000 (GMT) (envelope-from gwitichis@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 29 Nov 2004 15:31:01 -0800 Message-ID: Received: from 84.72.120.179 by by15fd.bay15.hotmail.msn.com with HTTP; Mon, 29 Nov 2004 23:30:36 GMT X-Originating-IP: [84.72.120.179] X-Originating-Email: [gwitichis@hotmail.com] X-Sender: gwitichis@hotmail.com In-Reply-To: <20041129183554.GA76617@ei.bzerk.org> From: "witichis Gladdy" To: mail25@bzerk.org Date: Mon, 29 Nov 2004 23:30:36 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 29 Nov 2004 23:31:01.0958 (UTC) FILETIME=[7CF65660:01C4D66B] cc: questions@freebsd.org Subject: Re: 4.10 kernel build problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 23:32:17 -0000 >From: Ruben de Groot >To: witichis Gladdy >CC: questions@freebsd.org >Subject: Re: 4.10 kernel build problem >Date: Mon, 29 Nov 2004 19:35:54 +0100 > >On Mon, Nov 29, 2004 at 06:02:28PM +0000, witichis Gladdy typed: > > Hi, > > > > I'm stuck trying to build a kernel to get support for my atapi cd >burner. > > > > Why is atapicam support for ide burners wich are pretty much mainstream > > these days not build in by default? > > > > I have a 4.10 freeBSD and did cvsup with src-all. > > Then I needed to update the configure program itself because of version > > diffences complaints. > > Then I did a make buildworld wich took hours but it completed without > > errors. > > > > The error when doing make depend is: > > > > bash-2.05b# make depend > > rm -f .olddep > > if [ -f .depend ]; then mv .depend .olddep; fi > > make _kernel-depend > > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >-Wpointer-arith > > -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. > > -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq > > -I../../../contrib/ipfilter -I../../../contrib/pf > > -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd > > -I../../../contrib/ngatm -D_KERNEL -include opt_global.h > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -mno-align-long-strings > > -mpreferred-stack-boundary=2 -ffreestanding >../../../i386/i386/genassym.c > > cc: inline-unit-growth=100: No such file or directory > > cc: large-function-growth=1000: No such file or directory > > cc1: Invalid option `no-align-long-strings' > > cc1: unknown C standard `c99' > > cc1: Invalid option `-finline-limit=8000' > > cc1: Invalid option `-fparam' > > cc1: Invalid option `-fparam' > > *** Error code 1 > >use the "new" method of building your kernel (make buildkernel). >That way the build will use the toolchain generated by the >previous buildworld. > >Ruben Thanks - that got me further. The kernel compiled after putting device.hints into /boot I needed to comment out /proc and msdos and ntfs partitions from fstab - bad a uname -a tells me : FreeBSD deepthought 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Mon Nov 29 22:04:37 CET 2004 schiller@deepthought:/usr/obj/usr/src/sys/MY2 i386 Looks like its very bleedy now because top and ps are not working any more (no /proc). Still I can't get my cd burner to work though. I reboot to the 4.10 kernel and cvsup with *default tag=RELENG_5_3 for another build. cheers _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/