From owner-freebsd-questions@FreeBSD.ORG Sun Aug 13 06:42:34 2006 Return-Path: X-Original-To: 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 0E6BD16A4DA for ; Sun, 13 Aug 2006 06:42:34 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from mail.nickwithers.com (mail.manrags.com [203.219.206.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3578A43D4C for ; Sun, 13 Aug 2006 06:42:32 +0000 (GMT) (envelope-from nick@nickwithers.com) Received: from armada.shmon.net (armada.shmon.net [10.0.0.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.nickwithers.com (Postfix) with ESMTP id AABF43ACE1; Sun, 13 Aug 2006 16:42:20 +1000 (EST) Date: Sun, 13 Aug 2006 16:41:00 +1000 From: Nick Withers To: "Dimitar Vasilev" Message-Id: <20060813164100.0063a0c7.nick@nickwithers.com> In-Reply-To: <59adc1a0608122053v5d641d4dx4f61dee81f581356@mail.gmail.com> References: <59adc1a0608122053v5d641d4dx4f61dee81f581356@mail.gmail.com> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-nickwithers-MailScanner: Found to be clean X-nickwithers-MailScanner-From: nick@nickwithers.com Cc: questions@freebsd.org Subject: Re: acpi module build fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 06:42:34 -0000 On Sun, 13 Aug 2006 05:53:37 +0200 "Dimitar Vasilev" wrote: > /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: `a > cpi_resume_beep' undeclared (first use in this function) > /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: > error: (E > ach undeclared identifier is reported only once > /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: > error: fo > r 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 > > 99%ed-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions > -std=c99 -Wsystem-headers -Werror -Wall -Wno-f > ormat-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. > root@NETWARRIOR:/usr/src/# ^Gexit > > Branch - 6.1-stable > > This persists from 1 day - i have cvsuped from different > servers around the globe, including cvsup from scratch. > > The statement on line 285 is > > if (acpi_resume_beep) > timeout(acpi_stop_beep, NULL, 3 * hz); > > return (ret); > } > > Anyone knows how to fix this ? C is not my strong side. > Thanks, G'day Dimitar, Please see my previous post on the subject "`acpi_resume_beep' undeclared (first use in this function)" (though note that I believe that the problem is in version 1.39.2.2 of /usr/src/sys/i386/acpica/acpi_wakeup.c (as opposed to 1.39.2.1, as I previously incorrectly stated). Note also that this question really belongs on -stable, too :-) I CCed Nate Lawson (the commiter of the update I think caused the problem) on the replay in question, so I imagine this'll be sorted soon. > -- > Димитър Василев > Dimitar Vassilev > > GnuPG key ID: 0x4B8DB525 > Keyserver: pgp.mit.edu > Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D > B525 -- Nick Withers email: nick@nickwithers.com WWW: http://nickwithers.com Mobile: +61 414 397 446