Recent cvsup with cvs up. Removed /usr/obj/.../src/sys/GENERIC. (cd /usr/src; make kernel) dies with cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/d2/FreeBSD/root/5-stable/usr/src/sys -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/dev/acpica -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/altq -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/ipfilter -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/pf -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/dev/ath -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/dev/ath/freebsd -I/d2/FreeBSD/root/5-stable/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c /d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c: In function `probe_keyboard': /d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: `KB_CONF_NO_PROBE_TEST' undeclared (first use in this function) /d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: (Each undeclared identifier is reported only once /d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: for each function it appears in.) *** Error code 1 The only file mentioning KB_CONF_NO_PROBE_TEST in any version appears to be src/sys/dev/kbd/atkbd.c, with no definition anywhere. -- Christopher Vance
Christopher Vance wrote:> The only file mentioning KB_CONF_NO_PROBE_TEST in any version appears > to be src/sys/dev/kbd/atkbd.c, with no definition anywhere.Your src/ tree is not up to date, or has been otherwise mangled. The commit that added KB_CONF_NO_PROBE_TEST touched two files: [ade@nail:/sys/dev/kbd] 2% grep KB_CONF_NO_PROBE_TEST * atkbd.c: if (!(flags & KB_CONF_NO_PROBE_TEST)) atkbdreg.h:#define KB_CONF_NO_PROBE_TEST (1 << 3) /* don't test keyboard during probe */ -aDe
On Thu, Jan 13, 2005 at 11:51:24AM +1100, I wrote:>Recent cvsup with cvs up. > >Removed /usr/obj/.../src/sys/GENERIC. > >(cd /usr/src; make kernel) dies with>/d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: >`KB_CONF_NO_PROBE_TEST' undeclared (first use in this function) >/d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: (Each >undeclared identifier is reported only once >/d2/FreeBSD/root/5-stable/usr/src/sys/dev/kbd/atkbd.c:1120: error: for each >function it appears in.) >*** Error code 1 > >The only file mentioning KB_CONF_NO_PROBE_TEST in any version appears >to be src/sys/dev/kbd/atkbd.c, with no definition anywhere.cvs repo was broken, so cvsup not working right, or something similar sorry to bother you -- Christopher Vance