Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2006 16:41:00 +1000
From:      Nick Withers <nick@nickwithers.com>
To:        "Dimitar Vasilev" <dimitar.vassilev@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: acpi module build fails
Message-ID:  <20060813164100.0063a0c7.nick@nickwithers.com>
In-Reply-To: <59adc1a0608122053v5d641d4dx4f61dee81f581356@mail.gmail.com>
References:  <59adc1a0608122053v5d641d4dx4f61dee81f581356@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Aug 2006 05:53:37 +0200
"Dimitar Vasilev" <dimitar.vassilev@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060813164100.0063a0c7.nick>