4.10 kernel build problem
Ruben de Groot
mail25 at bzerk.org
Mon Nov 29 10:33:45 PST 2004
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
More information about the freebsd-questions
mailing list