All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Devel] Problem in compilation of ACPI test suite
@ 2009-11-17  1:04 Lin Ming
  0 siblings, 0 replies; 2+ messages in thread
From: Lin Ming @ 2009-11-17  1:04 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 3541 bytes --]

On Tue, 2009-11-17 at 08:15 +0800, nisha jain wrote:
> Hi All,
> 
> I am new to ACPI development. I have downloaded the UNIX Format Source
> Code and Build Environment of the ACPI 
> and successfully compiled it. I am facing problem in UNIX Format Test
> Suite installation as i am getting following compilation errors.
> After looking into Make file i am still unable to figure what is the
> reason of the error. 
> Please if some one can tell me what is going wrong here? 

Hi, Nisha

Run "make install" directly would cause error.
You can use the scripts under aslts/bin.

Suppose you put acpica and aslts under /tmp

export ASL=/tmp/acpica/compiler/iasl
export acpiexec=/tmp/acpica/tools/acpiexec/acpiexec
export ASLTSDIR=/tmp/aslts
chmod +x /tmp/aslts/bin/*
/tmp/aslts/bin/Do 0 aslts

See the aslts/HOW_TO_USE file for more detail.

> 
> root(a)utd-desktop:/home/utd/ACPI/acpica-unix-20091112/tests/aslts# make
> install
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src
> make[1]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime
> make[2]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections
> make[3]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo
> make[4]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA
> make[5]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo
> make[6]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo'
> Bad iASL 1: <>
> make[6]: *** [install_test_case] Error 1
> make[6]: Leaving directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo'
> /home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof
> make[6]: Entering directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof'
> Bad iASL 1: <>
> ...........
> 
> ........... so on
> ............
> 
> 
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory
> `/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src'
> make: *** [install] Error 2
> 
> 
> I want to use the ACPI library for writing a small application for
> power management and display.
> My understanding is that in through test code i can understand the
> sequence for API call and 
> their functionality. I have gone through the Programmer reference for
> API functionality but 
> not sure if there is any specific sequence to call them. I am using

See the main function at acpica/tools/acpiexec/aemain.c for the call
sequence.

Cheers,
Lin Ming

>  Intel dual core and Ubuntu platform. 
> I have enabled the BIOS settings for ACPI and i am able to run some of
> applications to see the power 
> state of the CPU...
> 
> 
> Thanks and Regards,
> Nisha


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Devel] Problem in compilation of ACPI test suite
@ 2009-11-17  0:15 nisha jain
  0 siblings, 0 replies; 2+ messages in thread
From: nisha jain @ 2009-11-17  0:15 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 2964 bytes --]

Hi All,

I am new to ACPI development. I have downloaded the UNIX Format Source Code
and Build Environment
<http://www.acpica.org/downloads/unix_source_code.php>of the ACPI
and successfully compiled it. I am facing problem in UNIX Format Test
Suite<http://www.acpica.org/downloads/unix_test_suite.php>installation
as i am getting following compilation errors.
After looking into Make file i am still unable to figure what is the reason
of the error.
Please if some one can tell me what is going wrong here?

root(a)utd-desktop:/home/utd/ACPI/acpica-unix-20091112/tests/aslts# make
install
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src
make[1]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime
make[2]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections
make[3]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo
make[4]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA
make[5]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo
make[6]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo'
Bad iASL 1: <>
make[6]: *** [install_test_case] Error 1
make[6]: Leaving directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo'
/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof
make[6]: Entering directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof'
Bad iASL 1: <>
...........

........... so on
............


make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src/runtime'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/home/utd/ACPI/acpica-unix-20091112/tests/aslts/src'
make: *** [install] Error 2


I want to use the ACPI library for writing a small application for power
management and display.
My understanding is that in through test code i can understand the sequence
for API call and
their functionality. I have gone through the Programmer reference for API
functionality but
not sure if there is any specific sequence to call them. I am using Intel
dual core and Ubuntu platform.
I have enabled the BIOS settings for ACPI and i am able to run some of
applications to see the power
state of the CPU...


Thanks and Regards,
Nisha

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3138 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-17  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-17  1:04 [Devel] Problem in compilation of ACPI test suite Lin Ming
  -- strict thread matches above, loose matches on Subject: below --
2009-11-17  0:15 nisha jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.