由於最近莫名其妙的溫度升高了 5+ 攝氏度,我想監控 HTPC 中的風扇。經過一番調查,我發現我的主機板 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