On Wed, Feb 13, 2008 at 12:22:57PM -0600, Doug Poland wrote:
> Hello,
> 
> I'm attempting to build a GENERIC kernel for 6.3-STABLE and am getting 
> the following error message:
> 
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -c
> /usr/src/sys/i386/isa/clock.c: In function `DELAY':
> /usr/src/sys/i386/isa/clock.c:301: warning: implicit declaration of 
> function `cpu_spinwait'
> /usr/src/sys/i386/isa/clock.c:301: warning: nested extern declaration of 
> `cpu_spinwait'
> *** Error code 1
> ...
> The box is currently running 6.2-STABLE (i386).  I did a fresh cvsup
> yesterday using:
>       *default release=cvs tag=RELENG_6
> 
> Buildworld worked without issue.  I've googled but have yet to find an
> answer.  Any ideas?

Yes.  As I mentioned in my response to the "tinderbox" report, the
attached patch fixed it for me.

Peace,
david
-- 
David H. Wolfskill                              [EMAIL PROTECTED]
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: sys/i386/isa/clock.c
===================================================================
RCS file: /cvs/freebsd/src/sys/i386/isa/clock.c,v
retrieving revision 1.222.2.4
diff -u -r1.222.2.4 clock.c
--- sys/i386/isa/clock.c        12 Feb 2008 19:14:01 -0000      1.222.2.4
+++ sys/i386/isa/clock.c        13 Feb 2008 12:58:41 -0000
@@ -70,6 +70,7 @@
 #include <sys/power.h>
 
 #include <machine/clock.h>
+#include <machine/cpu.h>
 #include <machine/cputypes.h>
 #include <machine/frame.h>
 #include <machine/intr_machdep.h>

Attachment: pgpmrgfrP1PJA.pgp
Description: PGP signature

Reply via email to