-
Notifications
You must be signed in to change notification settings - Fork 105
Home
Hello,there are some problem on my Kali Linux.
when I run 'make':
make -C /lib/modules/uname -r
/build M=$PWD
make[1]: 进入目录“/usr/src/linux-headers-5.2.0-kali2-amd64”
CC [M] /root/mt7601u/eeprom.o
/root/mt7601u/eeprom.c: In function ‘mt7601u_efuse_physical_size_check’:
/root/mt7601u/eeprom.c:77:2: error: ISO C90 forbids array ‘data’ whose size can’t be evaluated [-Werror=vla]
u8 data[map_reads * 16];
^~
cc1: all warnings being treated as errors
make[4]: * [/usr/src/linux-headers-5.2.0-kali2-common/scripts/Makefile.build:284:/root/mt7601u/eeprom.o] 错误 1
make[3]: * [/usr/src/linux-headers-5.2.0-kali2-common/Makefile:1610:module/root/mt7601u] 错误 2
make[2]: * [Makefile:179:sub-make] 错误 2
make[1]: * [Makefile:8:all] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.2.0-kali2-amd64”
make: * [Makefile:9:default] 错误 2