From owner-freebsd-questions@FreeBSD.ORG Sun Aug 13 00:01:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24B316A4DD for ; Sun, 13 Aug 2006 00:01:07 +0000 (UTC) (envelope-from charles@my-eworld.com) Received: from yin.ibrigge.com (adsl-71-134-115-91.dsl.sntc01.pacbell.net [71.134.115.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD2043D45 for ; Sun, 13 Aug 2006 00:01:07 +0000 (GMT) (envelope-from charles@my-eworld.com) Received: by yin.ibrigge.com (Postfix, from userid 58) id 6C61D4AC52; Sat, 12 Aug 2006 17:01:25 -0700 (PDT) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yin.ibrigge.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.1.3 Received: from [71.134.115.89] (adsl-71-134-115-89.dsl.sntc01.pacbell.net [71.134.115.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by yin.ibrigge.com (Postfix) with ESMTP id ADCD94AC4D for ; Sat, 12 Aug 2006 17:01:23 -0700 (PDT) Message-ID: <44DE6BBB.4070200@my-eworld.com> Date: Sat, 12 Aug 2006 17:00:59 -0700 From: Charles Mujie User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: `acpi_resume_beep' undeclared (first use in this function) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charles@my-eworld.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 00:01:08 -0000 Hi, I've searched through the archieves and googled around, I don't seem to be able to find reference to this error. I installed FreeBSD 6.1 from CD did a cvsup to update the source and ports tree, and when I tried to build the kernel I got the following error. I'm using GENERIC and SMP as the KERNCONF parameter. It looks like the function 'acpi_resume_beep' is not declared anyway. Can someone help me with this. Thanks. /cm cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica - DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn o-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffree standing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi _wakeup.c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In function `acpi_sleep_machdep': /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: `acpi_resume_beep' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.