Comments (4)
Just in case if anyone is interested, I get the same error with Kernel 5.8 RC7 on Ubuntu MATE 20.04 64-bit.
Thanks.
rtl88x2bu_5.6.1_build_make.log:
DKMS make.log for rtl88x2bu-5.6.1 for kernel 5.8.0-050800rc7-generic (x86_64)
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-050800rc7-generic/build M=/var/lib/dkms/rtl88x2bu/5.6.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-050800rc7-generic'
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_vht.o
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ieee80211.c:20:
/usr/src/rtl88x2bu-5.6.1/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’
252 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_wlan_util.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ieee80211.c:20:
./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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_wlan_util.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_debug.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_debug.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_cmd.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ioctl_set.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ioctl_set.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_vht.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_vht.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mi.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mi.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mlme_ext.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mlme_ext.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ioctl_query.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_ioctl_query.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_io.c:47:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_io.c:47:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_security.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_security.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:79,
from /usr/src/rtl88x2bu-5.6.1/include/../hal/phydm/phydm_types.h:215,
from /usr/src/rtl88x2bu-5.6.1/include/../hal/phydm/phydm_precomp.h:29,
from /usr/src/rtl88x2bu-5.6.1/include/hal_data.h:20,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mlme.c:17:
/usr/src/rtl88x2bu-5.6.1/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 /usr/src/rtl88x2bu-5.6.1/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-5.6.1/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:27,
from /usr/src/rtl88x2bu-5.6.1/include/../hal/phydm/phydm_types.h:215,
from /usr/src/rtl88x2bu-5.6.1/include/../hal/phydm/phydm_precomp.h:29,
from /usr/src/rtl88x2bu-5.6.1/include/hal_data.h:20,
from /usr/src/rtl88x2bu-5.6.1/core/rtw_mlme.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/rtl88x2bu/5.6.1/build/core/rtw_ioctl_query.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ieee80211.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_security.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_wlan_util.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ioctl_set.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_io.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_vht.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mi.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_cmd.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_debug.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mlme.o] Error 1
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mlme_ext.o] Error 1
make[1]: *** [Makefile:1756: /var/lib/dkms/rtl88x2bu/5.6.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-050800rc7-generic'
make: *** [Makefile:2283: modules] Error 2
from rtl88x2bu.
Same here with kernel 5.8.0-25-generic
from rtl88x2bu.
Could be a completely different issue here, but I had the same error and it seems I was missing "bc". I installed it with:
sudo apt install bc -y
and it worked after it.
from rtl88x2bu.
Could be a completely different issue here, but I had the same error and it seems I was missing "bc". I installed it with:
sudo apt install bc -y
and it worked after it.
I did what you said and now it´s working. Thank you so much. Tears from Brazil.
from rtl88x2bu.
Related Issues (20)
- Upgrade to ubuntu 23.04 and recompilation of rtl88x2bu driver causes driver to not work properly. HOT 1
- Doesn't work with BrosTrend wifi adapter HOT 1
- Fails to work on Ubuntu 22.04.2 (kernel 5.19.0) HOT 2
- Fails to work on Ubuntu 23.04 HOT 1
- driver for archer T4U V5 on fedora is it possible? HOT 1
- issue with building driver HOT 1
- Suggesting deleting cfg80211.ko is really dangerous HOT 2
- Recent updates removed compatibility for adapter HOT 1
- DKMS binary package for rtl88x2bu: 5.13.1 not found HOT 3
- rtl8822bu chips are already supported by kernel v6.3.x. HOT 6
- dkms add : Error! DKMS tree already contains: rtl88x2bu-5.8.7.1 HOT 2
- Didn't work with Asus USB-AX55 Nano HOT 2
- Error build for kernel 6.4.16 HOT 1
- Does this driver support adhoc mode?
- asahi linux 6.3.0 / dkms build error: 10
- airmon_ng can't create new monitor interface indicating other problems.
- MAC80211 HWSIM HOT 1
- Need to activate and deactivate multiple times to connect after restart
- Has someone same problem? Linux raspberrypi 6.1.21-v8+ HOT 1
- Install Failed (depmod problems) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtl88x2bu.