rtl8192eu-arm-linux-driver
rtl8192eu-arm-linux-driver copied to clipboard
error when compiling -> redefinition of ‘struct sha256_state
I get an error when compiling using Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
/home/pi/rtl8192eu-arm-linux-driver/include/rtw_security.h:255:8: error: redefinition of ‘struct sha256_state’
struct sha256_state {
^~~~~~~~~~~~
In file included from ./include/linux/filter.h:24,
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 /home/pi/rtl8192eu-arm-linux-driver/include/osdep_service_linux.h:48,
from /home/pi/rtl8192eu-arm-linux-driver/include/osdep_service.h:50,
from /home/pi/rtl8192eu-arm-linux-driver/include/drv_types.h:27,
from /home/pi/rtl8192eu-arm-linux-driver/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
struct sha256_state {
Same problem Did you found any solution?
Got the same issue.
Used the driver this one was forked from, making the simple modification in the read me : https://github.com/Mange/rtl8192eu-linux-driver
I acknowledge the problem. I'll try to arrange some time to fix the issue and create packages for the latest kernel(s) Thanks for your patience
same issue here, I decided to do a apt upgrade today :(
EDIT: Managed to install it with the repo PTCybersecurite mentioned
Same here, stuck with a non working driver after updating RPi4 to the latest. The BFBI approach of commenting out
//struct sha256_state {
// u64 length;
// u32 state[8], curlen;
// u8 buf[64];
//};
leads to the stuff compiling up until
rtl8192eu-arm-linux-driver/os_dep/linux/ioctl_cfg80211.c:9906:3: error: ‘struct cfg80211_ops’ has no member named ‘mgmt_frame_register’
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
Maybe this subsequent error triggers something. This is not a deep analysis, I just did the obvious according to if it's stuck force it, if it breaks it needed fixing anyway