由于最近温度莫名其妙地升高了 5 摄氏度以上,我想监控 HTPC 中的风扇。包“lm-sensors”未检测到风扇传感器。经过一番调查,我发现主板 Z87 PRO 中有适用于 Nuvoton 芯片的驱动程序:
https://github.com/groeck/nct6775
在制作/编译时我收到以下错误:
~/Z87 Drivers/nct6775-master$ sudo make
**arch/x86/Makefile:136: CONFIG_X86_X32 enabled but no binutils support
Makefile:652: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack- protector not supported by compiler
make[1]: *** No rule to make target 'Drivers/nct6775-master'. Stop.
Makefile:30: recipe for target 'modules' failed
make: *** [modules] Error 2**
~/Z87 Drivers/nct6775-master$
有任何想法吗 ?
多谢。
答案1
我建议按照以下顺序:
sudo apt-get install build-essential linux-headers-generic
cd ~/Z87\ Drivers/nct6775-master
make clean
make
sudo make install