neurobin / MT7630E

Modified easy installation package

Home Page:https://neurobin.org/projects/softwares/unix/MT7630E/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modprobe: FATAL error

Beefate opened this issue · comments

I've installed Ubuntu Mate (Kernel 4.2.0.; Ubuntu 15.10), but Wi-fi driver didn't work. So I tried to use this driver and install it via Ethernet connection. I get this error and none of the solutions to similar problems on this page in Issues worked:

make -C /lib/modules/`uname -r`/build M=/home/beefate/MT7630E/rt2x00 modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-36-generic'
arch/x86/Makefile:123: stack-protector enabled but compiler support broken
arch/x86/Makefile:138: CONFIG_X86_X32 enabled but no binutils support
Makefile:669: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: gcc: Command not found
  CC [M]  /home/beefate/MT7630E/rt2x00/rt2x00dev.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:258: recipe for target '/home/beefate/MT7630E/rt2x00/rt2x00dev.o' failed
make[2]: *** [/home/beefate/MT7630E/rt2x00/rt2x00dev.o] Error 127
Makefile:1398: recipe for target '_module_/home/beefate/MT7630E/rt2x00' failed
make[1]: *** [_module_/home/beefate/MT7630E/rt2x00] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-36-generic'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
cp -v firmware/*/* /lib/firmware/
‘firmware/BT/mt76x0.bin’ -> ‘/lib/firmware/mt76x0.bin’
‘firmware/Wi-FI/MT7650E234.bin’ -> ‘/lib/firmware/MT7650E234.bin’
cp rt2x00/mt7630e.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
cp: cannot stat ‘rt2x00/mt7630e.ko’: No such file or directory
Makefile:16: recipe for target 'install' failed
make: *** [install] Error 1
modprobe: FATAL: Module mt7630e not found.
modprobe: FATAL: Module mt76xx not found.

Finally i found the solution:
"You're missing the Gnu Compiler Collection. It can be installed along with other necessary build tools with the meta-package build-essential:

sudo apt-get install build-essential"
Hope it will work for you.