All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] Error with Device driver tests in LTP
@ 2011-03-28  4:52 Tijo
  2011-03-30 11:13 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Tijo @ 2011-03-28  4:52 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 1388 bytes --]

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

-- 
yours truly,

Tijo Thomas John
Engineer MMS
TATA ELXSI LTD



[-- Attachment #1.2: Type: text/html, Size: 1677 bytes --]

[-- Attachment #2: Type: text/plain, Size: 418 bytes --]

------------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] Error with Device driver tests in LTP
  2011-03-28  4:52 [LTP] Error with Device driver tests in LTP Tijo
@ 2011-03-30 11:13 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2011-03-30 11:13 UTC (permalink / raw)
  To: Tijo; +Cc: ltp-list

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

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

end of thread, other threads:[~2011-03-30 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28  4:52 [LTP] Error with Device driver tests in LTP Tijo
2011-03-30 11:13 ` Cyril Hrubis

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.