Open jayhawk24 opened 4 years ago
sudo make install make -C /lib/modules/5.7.0-kali3-amd64/build M=/opt/wifidrivers/rtlwifi_new-extended modules make[1]: Entering directory '/usr/src/linux-headers-5.7.0-kali3-amd64' CC [M] /opt/wifidrivers/rtlwifi_new-extended/base.o gcc: error: unrecognized command-line option ‘--param=allow-store-data-races=0’; did you mean ‘--allow-store-data-races’? make[3]: [/usr/src/linux-headers-5.7.0-kali3-common/scripts/Makefile.build:272: /opt/wifidrivers/rtlwifi_new-extended/base.o] Error 1 make[2]: [/usr/src/linux-headers-5.7.0-kali3-common/Makefile:1745: /opt/wifidrivers/rtlwifi_new-extended] Error 2 make[1]: [/usr/src/linux-headers-5.7.0-kali3-common/Makefile:180: sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-kali3-amd64' make: [Makefile:85: all] Error 2
I have the same issue in Parrot OS compiling MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2 driver for Alfa MT7612U chipset.
sudo make install
make -C /lib/modules/5.7.0-kali3-amd64/build M=/opt/wifidrivers/rtlwifi_new-extended modules make[1]: Entering directory '/usr/src/linux-headers-5.7.0-kali3-amd64' CC [M] /opt/wifidrivers/rtlwifi_new-extended/base.o gcc: error: unrecognized command-line option ‘--param=allow-store-data-races=0’; did you mean ‘--allow-store-data-races’? make[3]: [/usr/src/linux-headers-5.7.0-kali3-common/scripts/Makefile.build:272: /opt/wifidrivers/rtlwifi_new-extended/base.o] Error 1 make[2]: [/usr/src/linux-headers-5.7.0-kali3-common/Makefile:1745: /opt/wifidrivers/rtlwifi_new-extended] Error 2 make[1]: [/usr/src/linux-headers-5.7.0-kali3-common/Makefile:180: sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-kali3-amd64' make: [Makefile:85: all] Error 2