GithubHelp home page GithubHelp logo

Comments (4)

TheJags avatar TheJags commented on July 19, 2024

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.

HughTebby avatar HughTebby commented on July 19, 2024

Same here with kernel 5.8.0-25-generic

from rtl88x2bu.

fabioduque avatar fabioduque commented on July 19, 2024

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.

fapinheiro avatar fapinheiro commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.