Comment 65 for bug 1394368

peng cheng (pc175) wrote :

This command doesn't work for me:

:~$ sudo dpkg -i ar9462-dkms_1.5.1_all.deb
(Reading database ... 235336 files and directories currently installed.)
Preparing to unpack ar9462-dkms_1.5.1_all.deb ...

-------- Uninstall Beginning --------
Module: ar9462
Version: 1.5.1
Kernel: 3.16.0-24-generic (x86_64)

Status: This module version was INACTIVE for this kernel.
depmod....(bad exit status: 1)

DKMS: uninstall completed.

Deleting module version: 1.5.1
completely from the DKMS tree.
Unpacking ar9462-dkms (1.5.1) over (1.5.1) ...
Setting up ar9462-dkms (1.5.1) ...

Loading tarball for ar9462-1.5.1
Loading /var/lib/dkms/ar9462/1.5.1/3.16.0-24-generic/x86_64...

DKMS: ldtarball completed.

Creating symlink /var/lib/dkms/ar9462/1.5.1/source ->

DKMS: add completed.
First Installation: checking all kernels...
Building only for 4.2.0-27-generic
Building for architecture x86_64
Building initial module for 4.2.0-27-generic
Error! Bad return status for module build on kernel: 4.2.0-27-generic (x86_64)
Consult /var/lib/dkms/ar9462/1.5.1/build/make.log for more information.

FILE CONTENT IN: /var/lib/dkms/ar9462/1.5.1/build/make.log:

DKMS make.log for ar9462-1.5.1 for kernel 4.2.0-27-generic (x86_64)
Wed Feb 10 19:01:56 EST 2016
make: Entering directory '/usr/src/linux-headers-4.2.0-27-generic'
  LD /var/lib/dkms/ar9462/1.5.1/build/built-in.o
  CC [M] /var/lib/dkms/ar9462/1.5.1/build/btusb.o
/var/lib/dkms/ar9462/1.5.1/build/btusb.c: In function ‘btusb_intr_complete’:
/var/lib/dkms/ar9462/1.5.1/build/btusb.c:315:7: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
   if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
cc1: some warnings being treated as errors
scripts/ recipe for target '/var/lib/dkms/ar9462/1.5.1/build/btusb.o' failed
make[1]: *** [/var/lib/dkms/ar9462/1.5.1/build/btusb.o] Error 1
Makefile:1398: recipe for target '_module_/var/lib/dkms/ar9462/1.5.1/build' failed
make: *** [_module_/var/lib/dkms/ar9462/1.5.1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.2.0-27-generic'