From owner-freebsd-current@FreeBSD.ORG Wed Sep 6 22:06:08 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org 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 D06F816A4F2 for ; Wed, 6 Sep 2006 22:06:08 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B34743D58 for ; Wed, 6 Sep 2006 22:06:08 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.49] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k86M60hI070809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Sep 2006 15:06:06 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44FF4635.4090107@FreeBSD.org> Date: Wed, 06 Sep 2006 15:05:41 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: John Hay References: <20060906214010.GA38392@zibbi.meraka.csir.co.za> In-Reply-To: <20060906214010.GA38392@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: error: `hlt_cpus_mask' undeclared X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 22:06:08 -0000 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