Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 18:29:37 -0500 (EST)
From:      Steve Ames <steve@energistic.com>
To:        current@freebsd.org
Subject:   Can't compile today's (3/7) kernel
Message-ID:  <200303072329.h27NTb5r086031@energistic.com>

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

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




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