Linux Test Project
 help / color / mirror / Atom feed
* [LTP] LTP build failure with 5.14 on ppc64le
@ 2022-05-20 10:46 samir mulani
  2022-05-20 10:58 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: samir mulani @ 2022-05-20 10:46 UTC (permalink / raw)
  To: ltp


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

Hi Team,

If anyone is help me with below build error message,

git clone https://github.com/linux-test-project/ltp.git
$ cd ltp
$ make autotools
$ ./configure
$ make


Log,

make -C /lib/modules/5.14.21-150400.19-default/build
M=/Workspace/ltp-master/testcases/kernel/device-drivers/acpi
  CC [M]  /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:
In function 'get_sysfs_path':
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:132:11:
error: implicit declaration of function 'acpi_bus_get_device'; did you
mean 'acpi_get_gpe_device'? [-Werror=implicit-function-declaration]
  status = acpi_bus_get_device(handle, &device);
           ^~~~~~~~~~~~~~~~~~~
           acpi_get_gpe_device
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:134:40:
error: dereferencing pointer to incomplete type 'struct acpi_device'
   sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL);
                                        ^~
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:
In function 'acpi_test_bus':
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:407:11:
error: implicit declaration of function 'acpi_bus_update_power'; did
you mean 'acpi_os_trace_point'?
[-Werror=implicit-function-declaration]
  status = acpi_bus_update_power(device->handle, &state);
           ^~~~~~~~~~~~~~~~~~~~~
           acpi_os_trace_point
cc1: some warnings being treated as errors
make[7]: *** [/usr/src/linux-5.14.21-150400.19/scripts/Makefile.build:272:
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o]
Error 1
make[6]: *** [/usr/src/linux-5.14.21-150400.19/Makefile:1882:
/Workspace/ltp-master/testcases/kernel/device-drivers/acpi] Error 2
make[5]: *** [../../../linux-5.14.21-150400.19/Makefile:220: __sub-make] Error 2
make[4]: [../../../../include/mk/module.mk:62: .dep_modules] Error 2 (ignored)
rm -rf *.mod.c *.o *.ko.unsigned modules.order .tmp* .*.ko .*.cmd Module.symvers
CC testcases/kernel/device-drivers/block/block_dev_user/block_dev


Regards,
Samir M.

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

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2022-05-20 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-20 10:46 [LTP] LTP build failure with 5.14 on ppc64le samir mulani
2022-05-20 10:58 ` Cyril Hrubis
2022-05-20 11:00   ` samir mulani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox