Re: acpi module build fails

2006-08-13 Thread Jim Segrave
> Date: Sun, 13 Aug 2006 05:53:37 +0200
> From: "Dimitar Vasilev" <[EMAIL PROTECTED]>
> Subject: acpi module build fails
> To: "FreeBSD Questions" <[EMAIL PROTECTED]>
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-5; format=flowed
> 
> 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,

It looks like acpi_wakeup.c had changes to beep on restart merged in,
but the required changes to acpi_machdep.c aren't in the tagged
release.

I fixed this by setting my cvsup tag to 
*default release=cvs tag=RELENG_6_1

deleting /usr/src/sys, cvsupping again. This gets you to a working
version (frozen, so you are less likely to be caught by similar
updates on the STABLE release line).


-- 
Jim Segrave   [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: acpi module build fails

2006-08-13 Thread Dimitar Vasilev



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: [EMAIL PROTECTED]
WWW: http://nickwithers.com
Mobile: +61 414 397 446




Thanks.
Saw it after I sent the letter.
Waiting for fix.
Have a nice weekend
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: acpi module build fails

2006-08-12 Thread Nick Withers
On Sun, 13 Aug 2006 05:53:37 +0200
"Dimitar Vasilev" <[EMAIL PROTECTED]> 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.
> [EMAIL PROTECTED]:/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: [EMAIL PROTECTED]
WWW: http://nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"