From owner-freebsd-stable@FreeBSD.ORG Sun Apr 17 05:02:03 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B3716A4CE; Sun, 17 Apr 2005 05:02:03 +0000 (GMT) Received: from elizabet.weizmann.ac.il (elizabet.weizmann.ac.il [132.77.26.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F9D43D3F; Sun, 17 Apr 2005 05:02:01 +0000 (GMT) (envelope-from vsbenzi@weizmann.ac.il) Received: from elizabet.weizmann.ac.il (localhost [127.0.0.1]) j3EHeCh5016680; Thu, 14 Apr 2005 20:40:12 +0300 (IDT) (envelope-from vsbenzi@weizmann.ac.il) Received: from localhost (localhost [[UNIX: localhost]]) by elizabet.weizmann.ac.il (8.13.3/8.13.1/Submit) id j3EHeCN4016679; Thu, 14 Apr 2005 20:40:12 +0300 (IDT) (envelope-from vsbenzi@weizmann.ac.il) X-Authentication-Warning: elizabet.weizmann.ac.il: vsbenzi set sender to vsbenzi@weizmann.ac.il using -f From: Benzi Mizrahi Organization: Weizmann Institute of Science To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Date: Thu, 14 Apr 2005 20:40:11 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504142040.12042.vsbenzi@weizmann.ac.il> Subject: 5.4-STABLE error in compiling GENERIC kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 05:02:03 -0000 Hi, I cvsuped RELENG_5. I did Make buildworld which worked fine, but make buildkernel failed. For several years now I upgrade FreeBSD this way with no problem. The following excerpt is from compiling 5.4-PreRelease kernel , which worked okay: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co ntrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -fin line-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/kern/subr_bus.c The following is the error I got when recently compiling 5.4-STABLE kernel: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co ntrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -fin line-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/kern/subr_bus.c /usr/src/sys/kern/subr_bus.c:1082: warning: no previous prototype for 'devclass_get_drivers' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Since I am not a system programer , I quite lost here. Any help would be greatly appreciated. -- Benzi Mizrahi, computing center, Weizmann Institute of Science, Tel: 972-8-9342456 Rehovot, Israel. Fax: 972-8-9344102