astsam / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
355 stars 952 forks source link

Build fail as of 22.11.17 on 16.04 - 4.10.0-40-generic - recipe for target 'modules' failed #79

Closed alphaaurigae closed 6 years ago

alphaaurigae commented 6 years ago

Build fail on xubuntu 16.04, 4.10.0-40-generic kernel, 22.11.17 Repo master as of 22.11.17

build fails with aircrack-ng/rtl8812au & evilphish/rtl8812au repos as well.

✔ /opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au [master|✔] 
19:28 $ make -j 4
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-40-generic/build M=/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au  modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-40-generic'
  CC [M]  /opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
  CC [M]  /opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_security.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:294: recipe for target '/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_cmd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_debug.o
scripts/Makefile.build:294: recipe for target '/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_security.o' failed
make[2]: *** [/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_security.o] Error 1
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:294: recipe for target '/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_debug.o' failed
make[2]: *** [/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au/core/rtw_debug.o] Error 1
Makefile:1524: recipe for target '_module_/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au' failed
make[1]: *** [_module_/opt/DRVR/WIFI/8812/rtl8812au/astsam/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-40-generic'
Makefile:1264: recipe for target 'modules' failed
make: *** [modules] Error 2
alphaaurigae commented 6 years ago

gcc version error when using gcc 4.7 ...