Hi Kamal,
On 10/4/24 4:19 PM, Kamal GMBH via lists.openembedded.org wrote:
You don't often get email from [email protected]. Learn
why this is important<https://aka.ms/LearnAboutSenderIdentification>
I am using 6.8 custom kernel and yocto scarthgap and i am using x86 machine.
i wants to enable turbostat part of my image.
i am adding below lines to enable turbostat tool in the local.conf file
IMAGE_INSTALL:append = " turbostat"
I am getting below error;
IMAGE_INSTALL:append = " perf cpupower turbostat"
[image.png]
map=/media/nvme1/umesha/kamal/poky-amd-scarthgap/build-weston-v2000a-scarthgap/tmp-glibc/work/v2000a-oe-linux/turbostat/3.4/recipe-sysroot-native=
-lcap -lrt
| turbostat.c: In function 'set_temperature_target':
| turbostat.c:5277:52: warning: implicit declaration of function 'GENMASK'
[-Wimplicit-function-declaration]
| 5277 | tcc_offset = (msr >> 24) & GENMASK(bits - 1,
0);
| | ^~~~~~~
|
/media/nvme1/umesha/kamal/poky-amd-scarthgap/build-weston-v2000a-scarthgap/tmp-glibc/work/v2000a-oe-linux/turbostat/3.4/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
/tmp/ccUpGoz5.o: in function `set_temperature_target':
| turbostat.c:(.text+0x514b): undefined reference to `GENMASK'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:20: turbostat] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task
(/media/nvme1/umesha/kamal/poky-amd-scarthgap/build-weston-v2000a-scarthgap/../meta-openembedded/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 9722 tasks of which 9581 didn't need to be rerun
and 1 failed.
>
Summary: 1 task failed:
NOTE:
IMAGE_INSTALL:append = " turbostat" line is working when i will build 6.6
custom kernel.
You probably need this:
https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb?id=1dc3523ef21b4764d32e2244660c2b3176877c57
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#205737):
https://lists.openembedded.org/g/openembedded-core/message/205737
Mute This Topic: https://lists.openembedded.org/mt/108819456/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-