I have a little RTL8188CUS usb dongle that requires a wifi driver installed. I have downloaded the driver off the internet and according to the 'readme', I need to run the shell script file install.sh. everything seems normal until I receive the following error:
Code: Select all
cc1: some warnings being treated as errors
compilation terminated.
/usr/src/linux-headers-4.9.0-8-common/scripts/Makefile.build:309: recipe for target '/home/optiplex/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1212.20101208/driver/rtl8192CU_linux_v2.0.1212.20101208/core/rtw_cmd.o' failed
make[4]: *** [/home/optiplex/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1212.20101208/driver/rtl8192CU_linux_v2.0.1212.20101208/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.9.0-8-common/Makefile:1546: recipe for target '_module_/home/optiplex/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1212.20101208/driver/rtl8192CU_linux_v2.0.1212.20101208' failed
make[3]: *** [_module_/home/optiplex/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1212.20101208/driver/rtl8192CU_linux_v2.0.1212.20101208] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-8-amd64'
Makefile:269: recipe for target 'modules' failed
make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg