Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 19:35:54 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        witichis Gladdy <gwitichis@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: 4.10 kernel build problem
Message-ID:  <20041129183554.GA76617@ei.bzerk.org>
In-Reply-To: <BAY15-F4213BC2F06FD2FDC0A4F63BABD0@phx.gbl>
References:  <BAY15-F4213BC2F06FD2FDC0A4F63BABD0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041129183554.GA76617>