You are not logged in.

#1 2016-10-22 12:26:36

shsina
Member
Registered: 2016-10-22
Posts: 47

[SOLVED] Dkms error

Hi

I want to install this package from AUR.

but it gives me following errors:

cleaning build area...
make KERNELRELEASE=4.8.3-1-ARCH -C /usr/lib/modules/4.8.3-1-ARCH/build M=/var/lib/dkms/rtbth/3.9.4.1/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.8.3-1-ARCH (x86_64)
Consult /var/lib/dkms/rtbth/3.9.4.1/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install -m rtbth -v 3.9.4.1 -k 4.8.3-1-ARCH
Error! Bad return status for module build on kernel: 4.8.3-1-ARCH (x86_64)
Consult /var/lib/dkms/rtbth/3.9.4.1/build/make.log for more information.

and make.log:

DKMS make.log for rtbth-3.9.4.1 for kernel 4.8.3-1-ARCH (x86_64)
شنبه ۲۲ اكتبر ۱۶، ساعت ۱۵:۴۹:۳۳ (IRST)
make: Entering directory '/usr/lib/modules/4.8.3-1-ARCH/build'
  LD      /var/lib/dkms/rtbth/3.9.4.1/build/built-in.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_main.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.o
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c: In function ‘BthInitializePrerequire’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1024:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if ((pAd->MACVersion != 0x00) && (pAd->MACVersion != 0xFFFFFFFF))
   ^~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1027:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
    KeStallExecutionProcessor(5);
    ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c: In function ‘Rtbth_Set_Radio_Led’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1185:3: warning: typedef ‘flag_t’ locally defined but not used [-Wunused-local-typedefs]
 } flag_t;
   ^~~~~~
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.o
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.c: In function ‘rtbt_pci_probe’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.c:198:1: warning: label ‘err_hps_iface’ defined but not used [-Wunused-label]
 err_hps_iface:
 ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.o
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c: In function ‘rtbt_hps_iface_init’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:385:22: error: ‘HCI_BREDR’ undeclared (first use in this function)
     hdev->dev_type = HCI_BREDR;
                      ^~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:385:22: note: each undeclared identifier is reported only once for each function it appears in
At top level:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:83:20: warning: ‘pkt_type_str’ defined but not used [-Wunused-variable]
 static const char *pkt_type_str[]=
                    ^~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:290: /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.o] Error 1
make: *** [Makefile:1471: _module_/var/lib/dkms/rtbth/3.9.4.1/build] Error 2
make: Leaving directory '/usr/lib/modules/4.8.3-1-ARCH/build'

output of

uname -a

is

Linux sina-X550DP 4.8.3-1-ARCH #1 SMP PREEMPT Thu Oct 20 19:53:59 CEST 2016 x86_64 GNU/Linux

I have upgraded it today 4.8.3.

Last edited by shsina (2016-10-22 13:24:25)

Offline

#2 2016-10-22 13:14:37

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Dkms error

See comments on that AUR page. The package is broken with kernel >=4.5.

Offline

#3 2016-10-22 13:23:40

shsina
Member
Registered: 2016-10-22
Posts: 47

Re: [SOLVED] Dkms error

ooo wrote:

See comments on that AUR page. The package is broken with kernel >=4.5.

unfortunately you are right...

Offline

#4 2016-10-23 16:34:20

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] Dkms error

I know this is a [SOLVED] topic, but the lts kernel ( https://www.archlinux.org/packages/?q=linux-lts ) is <= 4.5

Offline

#5 2016-10-23 16:38:04

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [SOLVED] Dkms error

Mod note: Not a pacman/upgrade issue, moving to AUR issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB