Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 15:24:44 -0600
From:      Mike Meyer <mwm@mired.org>
To:        questions@freebsd.org
Cc:        phk@freebsd.org
Subject:   Can't compile kernel...
Message-ID:  <16831.23068.898160.406054@guru.mired.org>

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

--riKbMmCP8e
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

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


--riKbMmCP8e
Content-Type: application/octet-stream
Content-Description: config file
Content-Disposition: attachment;
	filename="GURU"
Content-Transfer-Encoding: base64

IwojIEdVUlUgLS0gTWlrZSBBdGhsb24gd29ya3N0YXRpb24uCiMKCm1hY2hpbmUJCWkzODYK
Y3B1CQlJNjg2X0NQVQppZGVudAkJR1VSVQoKIyBHVVJVLXNwZWNpZmljIGRlYnV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BQQ0kt
PlVTQiBpbnRlcmZhY2UKZGV2aWNlCQl1c2IJCSMgVVNCIEJ1cyAocmVxdWlyZWQpCmRldmlj
ZQkJdWxwdAkJIyBQcmludGVyCmRldmljZQkJdW1hc3MgICAgICAgICAgICMgRGlza3MvTWFz
cyBzdG9yYWdlIC0gUmVxdWlyZXMgc2NidXMgYW5kIGRhCgojIERldmljZXMgaW4gR1VSVSB0
aGF0IGFyZW4ndCBpbiBHRU5FUklDCgojIFRoZSBzb3VuZCBjYXJkCmRldmljZQkJc291bmQK
CiMgSGF1cHBhZ2UgV2luVFYgY2FyZCBzdXBwb3J0CmRldmljZQkJYmt0cgpkZXZpY2UJCXNt
YnVzCmRldmljZQkJaWljYnVzCmRldmljZQkJaWljYmIKZGV2aWNlCQlpbnRwbQpkZXZpY2UJ
CWlpY3NtYgpkZXZpY2UJCXNtYgoKCg==
--riKbMmCP8e
Content-Type: text/plain; charset=us-ascii
Content-Description: .signature
Content-Transfer-Encoding: 7bit


-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

--riKbMmCP8e--



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