Starting from kernel 4.7 the function cpufreq_cpu_exists() (used to determine number of CPU cores) is removed in favour of cpupower_is_cpu_online(). It is not exactly the same thing and it needs additional header cpuidle.h: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/tools/power/cpupower/lib?id=ac5a181 Instead of using that new function, one solution is just to perform the test just by calling cpufreq_get_freq_kernel(), see e.g. this commit in my fork https://github.com/tomaszg7/gkrellm2-cpupower/commit/7a71966ced4b88ea14a921e3f4d0a926f172aaf3
Should be fixed in x11-plugins/gkrellm-cpupower-0.2