Re: `acpi_resume_beep' undeclared (first use in this function)



On Sat, 12 Aug 2006 17:00:59 -0700
Charles Mujie <charles@xxxxxxxxxxxxx> wrote:

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.

I _believe_ this is an issue in RELENG_6 (i.e., 6-STABLE), so
I'm assuming that's what you've tried to build.

I ran into the same issue yesterday but haven't hassled anyone
about it yet. I believe it's due to the MFC in 1.39.2.1
of /usr/src/sys/i386/acpica/acpi_wakeup.c (see
"http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/acpica/acpi_wakeup.c";).

Nate - Any thoughts?

/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.
--
Nick Withers
email: nick@xxxxxxxxxxxxxxx
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • cups-1.3.3 not compiling anymore in FreeBSD 7.0
    ... gmake: Entering directory ... echo Compiling phpcups.c... ... phpcups.c:163: error: (Each undeclared identifier is reported only once ... *** Error code 2 ...
    (freebsd-questions)
  • cups-base woes
    ... of 'link' shadows a global declaration ... phpcups.c:163: error: (Each undeclared identifier is reported only once ... *** Error code 2 ...
    (freebsd-questions)
  • `acpi_resume_beep undeclared (first use in this function)
    ... be able to find reference to this error. ... I installed FreeBSD 6.1 from CD ... (Each undeclared identifier is reported only once ... *** Error code 1 ...
    (freebsd-questions)
  • acpi module build fails
    ... ach undeclared identifier is reported only once ... *** Error code 1 ... (Each undeclared identifier is reported only once ... GnuPG key ID: 0x4B8DB525 ...
    (freebsd-questions)
  • 5.3 >6.0 - make buildworld libkrb5 failure
    ... error: syntax error before "chpw" ... `chpw' undeclared ... (Each undeclared identifier is reported only once ... *** Error code 1 ...
    (freebsd-questions)