Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2006 15:05:41 -0700
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        John Hay <jhay@meraka.org.za>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: error: `hlt_cpus_mask' undeclared
Message-ID:  <44FF4635.4090107@FreeBSD.org>
In-Reply-To: <20060906214010.GA38392@zibbi.meraka.csir.co.za>
References:  <20060906214010.GA38392@zibbi.meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Should be fixed now. Thanks for reporting!

-Maxim

John Hay wrote:
> When trying to compile a new kernel, I got this error:
> 
> #####################################
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-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 -mno-sse3 -ffreestanding -Werror  /usr/src/sys/i386/i386/local_apic.c
> /usr/src/sys/i386/i386/local_apic.c: In function `lapic_handle_timer':
> /usr/src/sys/i386/i386/local_apic.c:625: error: `hlt_cpus_mask' undeclared (first use in this function)
> /usr/src/sys/i386/i386/local_apic.c:625: error: (Each undeclared identifier is reported only once
> /usr/src/sys/i386/i386/local_apic.c:625: error: for each function it appears in.)
> *** Error code 1
> 
> Stop in /export/obj/usr/src/sys/ANGEL.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> #######################################
> 
> I have device apic defined, but not options SMP in my kernel config file.
> 
> John




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