Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 23:30:36 +0000
From:      "witichis Gladdy" <gwitichis@hotmail.com>
To:        mail25@bzerk.org
Cc:        questions@freebsd.org
Subject:   Re: 4.10 kernel build problem
Message-ID:  <BAY15-F31C00916B5EC880ADED05CBABD0@phx.gbl>
In-Reply-To: <20041129183554.GA76617@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>From: Ruben de Groot <mail25@bzerk.org>
>To: witichis Gladdy <gwitichis@hotmail.com>
>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/



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