Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 2 Kali Linux 2021.1 Kernel 5.10 #26

Open
scoobadiver opened this issue Mar 28, 2021 · 2 comments
Open

Error 2 Kali Linux 2021.1 Kernel 5.10 #26

scoobadiver opened this issue Mar 28, 2021 · 2 comments

Comments

@scoobadiver
Copy link

when i type make, i get the following error:

┌──(root💀kali)-[~/RTL8192EU] └─# make 2 ⨯ make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali5-amd64/build M=/root/RTL8192EU modules make[1]: Entering directory '/usr/src/linux-headers-5.10.0-kali5-amd64' CC [M] /root/RTL8192EU/core/rtw_cmd.o In file included from /root/RTL8192EU/include/drv_types.h:78, from /root/RTL8192EU/core/rtw_cmd.c:17: /root/RTL8192EU/include/rtw_security.h:243:8: error: redefinition of ‘struct sha256_state’ 243 | struct sha256_state { | ^~~~~~~~~~~~ In file included from /usr/src/linux-headers-5.10.0-kali5-common/include/linux/filter.h:24, from /usr/src/linux-headers-5.10.0-kali5-common/include/net/sock.h:59, from /usr/src/linux-headers-5.10.0-kali5-common/include/linux/tcp.h:19, from /usr/src/linux-headers-5.10.0-kali5-common/include/linux/ipv6.h:87, from /usr/src/linux-headers-5.10.0-kali5-common/include/net/addrconf.h:50, from /root/RTL8192EU/include/osdep_service_linux.h:48, from /root/RTL8192EU/include/osdep_service.h:47, from /root/RTL8192EU/include/drv_types.h:27, from /root/RTL8192EU/core/rtw_cmd.c:17: /usr/src/linux-headers-5.10.0-kali5-common/include/crypto/sha.h:84:8: note: originally defined here 84 | struct sha256_state { | ^~~~~~~~~~~~ make[3]: *** [/usr/src/linux-headers-5.10.0-kali5-common/scripts/Makefile.build:284: /root/RTL8192EU/core/rtw_cmd.o] Error 1 make[2]: *** [/usr/src/linux-headers-5.10.0-kali5-common/Makefile:1819: /root/RTL8192EU] Error 2 make[1]: *** [/usr/src/linux-headers-5.10.0-kali5-common/Makefile:185: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-kali5-amd64' make: *** [Makefile:1829: modules] Error 2

@airwawekz
Copy link

Same error at me. Did you solve it?

@hoseinnikkhah
Copy link

Same error at me. Did you solve it?

I got the same issue, I will try it on a lower kernel version, hope that fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants