← Back to team overview

ubuntu-audio-dev team mailing list archive

xenial build

 

Hi Audio-dev,

First, thank you for supporting these drivers!  I'm trying to install
oem-audio-hda-daily on Xenial 16.04 and running into the build issue pasted
below.  Is xenial currently supported or is this a known issue?  Is there
any way I can help?

Cheers,
Dan


$ apt install oem-audio-hda-daily-dkms
...
Loading new oem-audio-hda-daily-0.201604050502~ubuntu16.04.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-21-generic
Building for architecture x86_64
Building initial module for 4.4.0-21-generic
Error! Bad return status for module build on kernel: 4.4.0-21-generic
(x86_64)
Consult
/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/make.log
for more information.
dpkg: error processing package oem-audio-hda-daily-dkms (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oem-audio-hda-daily-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ dpkg --configure -a
...
Setting up oem-audio-hda-daily-dkms (0.201604050502~ubuntu16.04.1) ...
Removing old oem-audio-hda-daily-0.201604050502~ubuntu16.04.1 DKMS files...

------------------------------
Deleting module version: 0.201604050502~ubuntu16.04.1
completely from the DKMS tree.
------------------------------
Done.
Loading new oem-audio-hda-daily-0.201604050502~ubuntu16.04.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-21-generic
Building for architecture x86_64
Building initial module for 4.4.0-21-generic
Error! Bad return status for module build on kernel: 4.4.0-21-generic
(x86_64)
Consult
/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/make.log
for more information.
dpkg: error processing package oem-audio-hda-daily-dkms (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oem-audio-hda-daily-dkms

$ tail -n 20
/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/make.log
...
  CC [M]
 /var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore/hdac_device.o
/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore/hdac_device.c:614:12:
error: static declaration of ‘pm_runtime_get_if_in_use’ follows non-static
declaration
 static int pm_runtime_get_if_in_use(struct device *dev)
            ^
In file included from
/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore/hdac_device.c:10:0:
include/linux/pm_runtime.h:42:12: note: previous declaration of
‘pm_runtime_get_if_in_use’ was here
 extern int pm_runtime_get_if_in_use(struct device *dev);
            ^
scripts/Makefile.build:258: recipe for target
'/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore/hdac_device.o'
failed
make[3]: ***
[/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore/hdac_device.o]
Error 1
scripts/Makefile.build:403: recipe for target
'/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore'
failed
make[2]: ***
[/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build/hdacore]
Error 2
Makefile:1396: recipe for target
'_module_/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build'
failed
make[1]: ***
[_module_/var/lib/dkms/oem-audio-hda-daily/0.201604050502~ubuntu16.04.1/build]
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-21-generic'
Makefile:53: recipe for target 'all' failed
make: *** [all] Error 2

Follow ups