我一直在嘗試按照該網站上給出的步驟進行操作
http://ubuntuhandbook.org/index.php/2018/08/no-wifi-adapter-found-hp-laptops-ubuntu-18-04/
在我的 HP 筆記型電腦上安裝 WiFi 適配器裝置驅動程式。但是,當我使用該
sudo make install
命令時,我收到錯誤
make -C /lib/modules/4.15.0-50-generic/build M=/home/keith/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-50-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
arch/x86/Makefile:245: *** You are building kernel with non-retpoline compiler, please update your compiler.. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-50-generic'
Makefile:87: recipe for target 'all' failed
make: *** [all] Error 2
我也嘗試過使用指令
sudo make clean
sudo make
結果:
make -C /lib/modules/4.15.0-50-generic/build M=/home/keith/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-50-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
arch/x86/Makefile:245: *** You are building kernel with non-retpoline compiler, please update your compiler.. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-50-generic'
Makefile:87: recipe for target 'all' failed
make: *** [all] Error 2
我該怎麼做才能用 make 修復這個錯誤?