
http://iki.fi/teknohog/hacks/linux-phc- ... ohog.patch
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cpufreq_driver=phc-intel"
Code: Select all
lsmod | grep phc
If you don't use dkms but make; make install, you can just pass CC=gcc-5 as an argmument to make at the command line.Aalexeey wrote:To build phc for the second one I have to edit Makefile "CC=gcc" to "CC=gcc-5"
In principle, yes. I may cook up something for the next release. Btw. what's the error message/log you get?Is it possible to get "phc-intel" build success for both kernels with such different gcc versions?
Make doesn't work too:lio wrote:If you don't use dkms but make
Code: Select all
root@*******:/home/xxxxxxx/phc-intel-pack-rev20# make
Preparing build area for phc-intel-0.3.2:
searching for patch directory... using ./inc/4.4
copying files
patching file phc-intel.c
SUCCESS. Build area ready.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/xxxxxxx/phc-intel-pack-rev20 modules
make[1]: Entering directory `/usr/src/linux-headers-4.4-6.dmz.1-liquorix-686'
CC [M] /home/xxxxxxx/phc-intel-pack-rev20/phc-intel.o
cc1: error: -Werror=date-time: no option -Wdate-time
make[2]: *** [/home/xxxxxxx/phc-intel-pack-rev20/phc-intel.o] Ошибка 1
make[1]: *** [_module_/home/xxxxxxx/phc-intel-pack-rev20] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4-6.dmz.1-liquorix-686'
make: *** [phc-intel.ko] Ошибка 2
root@*******:/home/xxxxxxx/phc-intel-pack-rev20#
Make doesn't work too. I'm not able to post any code, it's recognized as a spam?lio wrote:If you don't use dkms but make