DKMS make.log for rtl8821ce-1.0.5.r90.gdf0c98c for kernel 5.8.1-arch1-1 (x86_64) Sat 15 Aug 2020 04:45:25 PM CDT make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.1-arch1-1/build M=/var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build modules make[1]: Entering directory '/usr/lib/modules/5.8.1-arch1-1/build' CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_security.o CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_io.o CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_cmd.o CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_debug.o In file included from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:79, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_io.c:47: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’ 252 | struct sha256_state { | ^~~~~~~~~~~~ In file included from ./include/linux/filter.h:23, from ./include/net/sock.h:59, from ./include/linux/tcp.h:19, from ./include/linux/ipv6.h:88, from ./include/net/addrconf.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service_linux.h:48, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:27, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_io.c:47: ./include/crypto/sha.h:84:8: note: originally defined here 84 | struct sha256_state { | ^~~~~~~~~~~~ In file included from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:79, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_cmd.c:17: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’ 252 | struct sha256_state { | ^~~~~~~~~~~~ In file included from ./include/linux/filter.h:23, from ./include/net/sock.h:59, from ./include/linux/tcp.h:19, from ./include/linux/ipv6.h:88, from ./include/net/addrconf.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service_linux.h:48, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:27, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_cmd.c:17: ./include/crypto/sha.h:84:8: note: originally defined here 84 | struct sha256_state { | ^~~~~~~~~~~~ In file included from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:79, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_debug.c:17: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’ 252 | struct sha256_state { | ^~~~~~~~~~~~ In file included from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:79, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_security.c:17: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’ 252 | struct sha256_state { | ^~~~~~~~~~~~ In file included from ./include/linux/filter.h:23, from ./include/net/sock.h:59, from ./include/linux/tcp.h:19, from ./include/linux/ipv6.h:88, from ./include/net/addrconf.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service_linux.h:48, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:27, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_debug.c:17: ./include/crypto/sha.h:84:8: note: originally defined here 84 | struct sha256_state { | ^~~~~~~~~~~~ In file included from ./include/linux/filter.h:23, from ./include/net/sock.h:59, from ./include/linux/tcp.h:19, from ./include/linux/ipv6.h:88, from ./include/net/addrconf.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service_linux.h:48, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/include/drv_types.h:27, from /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_security.c:17: ./include/crypto/sha.h:84:8: note: originally defined here 84 | struct sha256_state { | ^~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_security.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_io.o] Error 1 make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_cmd.o] Error 1 make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/core/rtw_debug.o] Error 1 make[1]: *** [Makefile:1756: /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/5.8.1-arch1-1/build' make: *** [Makefile:2244: modules] Error 2