Error with Device driver tests in LTP
Hello,
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
Signature · 5 lines
yours truly, Tijo Thomas John Engineer MMS TATA ELXSI LTD
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 22 lines
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 asmake -C
/lib/modules/2.6.32.TEL-0.7-default/buildSUBDIRS=/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 functionltpdev_ioctl:/root/tijo/LTP-docs/ltp-full-20110228/testcases/kernel/device-drivers/acpi/LtpAcpiCmds.c:188:
warning: passing argument 2 ofacpi_get_object_infofrom
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
Quoted 1 line
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.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list