From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 18:33:45 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 00F0C16A4CE for ; Mon, 29 Nov 2004 18:33:45 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F80643D55 for ; Mon, 29 Nov 2004 18:33:44 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id iATIZsPp076706; Mon, 29 Nov 2004 19:35:54 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id iATIZsX6076705; Mon, 29 Nov 2004 19:35:54 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Mon, 29 Nov 2004 19:35:54 +0100 From: Ruben de Groot To: witichis Gladdy Message-ID: <20041129183554.GA76617@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ei.bzerk.org 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 18:33:45 -0000 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