Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 10:57:24 +1300
From:      Nigel Wohlers <freebsd@eyede.com>
To:        Mike Meyer <mwm@mired.org>
Cc:        phk@freebsd.org
Subject:   Re: Can't compile kernel...
Message-ID:  <41BF61C4.3080304@eyede.com>
In-Reply-To: <16831.23068.898160.406054@guru.mired.org>
References:  <16831.23068.898160.406054@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote:
> Ok, I'm an old hand at building BSD kernels. Been doing it since BSD
> 4.2, and FreeBSD 3.0. But the code for 5-STABLE fails to compile for
> me. I've tried 5.3 from the CD-ROM, RELENG_5_3_0, RELENG_5_3, and
> RELENG_5. They all fail to build with this error:
> 
> cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -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 -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/fb/vga.c
> ../../../dev/fb/vga.c:1346: warning: 'filll_io' defined but not used
> ../../../dev/fb/vga.c:1336: warning: 'fill' defined but not used
> 
> I've included phk@freebsd in the mail, as he was the last person to
> touch this file on those branches.
> 
> I'll attach the kernel config file as that's almost certainly relevant.
> 
> Any help in getting this kernel to build would be greatly appreciated.
> 
> 	Thanx,
> 	<mike
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Hi Mike,

You could try compiling without these:

options 	VGA_NO_FONT_LOADING
options 	VGA_NO_MODE_CHANGE
options 	SC_NO_FONT_LOADING

I recall a similar build error I encountered with these options.

Regards,
Nigel.



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