From owner-freebsd-current Fri Mar 7 15:29:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F1AC37B405 for ; Fri, 7 Mar 2003 15:29:43 -0800 (PST) Received: from energistic.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2FE43F75 for ; Fri, 7 Mar 2003 15:29:40 -0800 (PST) (envelope-from steve@energistic.com) Received: from energistic.com (steve@localhost [127.0.0.1]) by energistic.com (8.12.8/8.12.8) with ESMTP id h27NTbUm087382 for ; Fri, 7 Mar 2003 18:29:38 -0500 (EST) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.12.8/8.12.8/Submit) id h27NTb5r086031 for current@freebsd.org; Fri, 7 Mar 2003 18:29:37 -0500 (EST) (envelope-from steve) Date: Fri, 7 Mar 2003 18:29:37 -0500 (EST) From: Steve Ames Message-Id: <200303072329.h27NTb5r086031@energistic.com> To: current@freebsd.org Subject: Can't compile today's (3/7) kernel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm getting this error when trying to compile kernels for the last few days: cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-p rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-e xtensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/s rc/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt _global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffr eestanding -Werror /usr/src/sys/kern/subr_trap.c cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-p rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-e xtensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/s rc/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt _global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffr eestanding -Werror /usr/src/sys/kern/subr_witness.c cc1: warnings being treated as errors /usr/src/sys/kern/subr_witness.c:1443: warning: `witness_list' defined but not u sed *** Error code 1 I have -DNO_WERROR in my make line but (obviously) that doesn't get around the "warnings being treated as errors" issue here. Thoughts? -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message