[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-list
Subject: Re: [LTP] Error with Device driver tests in LTP
From: Cyril Hrubis <chrubis () suse ! cz>
Date: 2011-03-30 10:51:40
Message-ID: 20110330111354.GA29707 () saboteur ! suse ! cz
[Download RAW message or body]
Hi!
> I'm new to the LTP mailing list and I'm facing a problem while
> running the device driver tests in LTP. When I try to make the acpi
> driver in LTP, I'm getting an error as
>
> make -C /lib/modules/2.6.32.TEL-0.7-default/build \
> SUBDIRS=/root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi \
> modules make[1]: Entering directory `/usr/src/linux-2.6.32.12-0.7'
> CC [M] /root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.o
>
> /root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.c:
> In function ltpdev_ioctl:
> /root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.c:188:
>
> warning: passing argument 2 of acpi_get_object_info from
> incompatible pointer type
> /root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.c:369:
>
> *error: implicit declaration of function acpi_get_register*
> make[2]: *** [/root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.o]
> Error 1
> make[1]: *** [_module_/root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.32.12-0.7'
> make: *** [default] Error 2
>
> please help on how to solve this problem
The source code says that last update was for kernel 2.6.28, that is
aprox. 2 years old, most likely the acpi api has changed since then.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic