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: 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. Regards, Kamal
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205236): https://lists.openembedded.org/g/openembedded-core/message/205236 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]] -=-=-=-=-=-=-=-=-=-=-=-
