如何让联发科 MT7630E 802.11bgn Wi-Fi 适配器适用于华硕 TP500LA

如何让联发科 MT7630E 802.11bgn Wi-Fi 适配器适用于华硕 TP500LA

我尝试了这些命令:

sudo apt-get install git build-essential
git clone https://github.com/neurobin/MT7630E.git
cd MT7630E/
chmod +x install test uninstall
sudo ./install

它们可以在如何使联发科 MT7630E 802.11bgn Wi-Fi 适配器工作?,但是当我尝试运行时sudo ./install,收到此错误消息:

make -C /lib/modules/4.15.0-29-generic/build M=/home/sivarama/MT7630E/rt2x00 modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-29-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
make[1]: gcc: Command not found
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/sivarama/MT7630E/rt2x00/rt2x00dev.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:332: recipe for target '/home/sivarama/MT7630E/rt2x00/rt2x00dev.o' failed
make[2]: *** [/home/sivarama/MT7630E/rt2x00/rt2x00dev.o] Error 127
Makefile:1552: recipe for target '_module_/home/sivarama/MT7630E/rt2x00' failed
make[1]: *** [_module_/home/sivarama/MT7630E/rt2x00] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2

相关内容