如何在 Ubuntu 20.04 Kernel# 5.4.0-42 上安装 Ralink MT7601U 驱动程序?

如何在 Ubuntu 20.04 Kernel# 5.4.0-42 上安装 Ralink MT7601U 驱动程序?

每当我尝试通过终端安装时,它都会显示以下错误:

make -C /lib/modules/5.4.0-42-generic/build SUBDIRS=/home/snykyash/Drivers/mt7601usta/src/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-42-generic'
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-42-generic'
make: *** [Makefile:419: LINUX] Error 2

请帮助我解决这个问题。

相关内容