whitebatman2 / rtl8821CU

Realtek 802.11ac USB WLAN driver
GNU General Public License v2.0
310 stars 178 forks source link

Error compiling driver for kernel version 5.0.0.25 #33

Open cairoapcampos opened 5 years ago

cairoapcampos commented 5 years ago

I can't install the driver. The log shows the following error:

cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target '/var/lib/dkms/rtl8821CU/5.2.5.3/build/os_dep/linux/ioctl_cfg80211.o' failed make[2]: [/var/lib/dkms/rtl8821CU/5.2.5.3/build/os_dep/linux/ioctl_cfg80211.o] Error 1 Makefile:1606: recipe for target 'module/var/lib/dkms/rtl8821CU/5.2.5.3/build' failed make[1]: [module/var/lib/dkms/rtl8821CU/5.2.5.3/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-25-generic' Makefile:1923: recipe for target 'modules' failed make: *** [modules] Error 2

what should I do?

zypangpang commented 5 years ago

check this thread. https://github.com/whitebatman2/rtl8821CU/issues/23 It may help.

cairoapcampos commented 5 years ago

Thank you.