DKMS module issue

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

DKMS module issue

Postby Riderranger47 » Sat Aug 26, 2017 2:45 pm

I'm attempting to install a Wifi driver on my Odroid C2 as recommended by Arch wiki for my USB dongle. The driver is in the AUR. https://aur.archlinux.org/packages/8192cu-dkms/

Installing that package gives the error
Code: Select all
==> No kernel 3.14.79-27-ARCH headers. You must install them to use DKMS!
While installing DKMS.

Installing linux-odroid-c2-headers gives the following error:

Code: Select all
(1/2) Install DKMS modules
==> dkms install 8192cu/v4.0.2_9000 -k 3.14.79-27-ARCH
Error! Bad return status for module build on kernel: 3.14.79-27-ARCH (aarch64)
Consult /var/lib/dkms/8192cu/v4.0.2_9000/build/make.log for more information.


Contents of /var/lib/dkms/8192cu/v4.0.2_9000/build/make.log:
Code: Select all
DKMS make.log for 8192cu-v4.0.2_9000 for kernel 3.14.79-27-ARCH (aarch64)
Sat Aug 26 14:08:28 UTC 2017
make: Entering directory '/usr/lib/modules/3.14.79-27-ARCH/build'
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_io.o
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c: In function 'aes_cipher':
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c:1504:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c:1507:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c: In function 'aes_decipher':
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c:1878:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_security.c:1881:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_mlme_ext.o
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_mlme_ext.c: In function 'on_action_public_p2p':
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_mlme_ext.c:5666:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if( _rtw_memcmp(pwdinfo->rx_prov_disc_info.peerDevAddr, empty_addr, ETH_ALEN) );
     ^~
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_mlme_ext.c:5667:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
      _rtw_memcpy(pwdinfo->rx_prov_disc_info.peerDevAddr, GetAddr2Ptr(pframe), ETH_ALEN);
      ^~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/core/efuse/rtw_efuse.o
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_br_ext.c: In function 'nat25_db_handle':
/var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_br_ext.c:1449:28: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'? [-Werror=implicit-function-declaration]
         hdr->icmp6_cksum = csum_ipv6_magic(&iph->saddr, &iph->daddr,
                            ^~~~~~~~~~~~~~~
                            csum_tcpudp_magic
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/hal/hal_intf.o
  CC [M]  /var/lib/dkms/8192cu/v4.0.2_9000/build/hal/hal_com.o
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:308: /var/lib/dkms/8192cu/v4.0.2_9000/build/core/rtw_br_ext.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1278: _module_/var/lib/dkms/8192cu/v4.0.2_9000/build] Error 2
make: Leaving directory '/usr/lib/modules/3.14.79-27-ARCH/build'



Ideas?
Riderranger47
 
Posts: 2
Joined: Wed Apr 26, 2017 8:03 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests