[asterisk-bugs] [JIRA] (DAHLIN-379) Dahdi-Linux 3.1.0 cannot compile against Kernel 5.4.x

Gregory Massel (JIRA) noreply at issues.asterisk.org
Tue Aug 11 08:46:43 CDT 2020


Gregory Massel created DAHLIN-379:
-------------------------------------

             Summary: Dahdi-Linux 3.1.0 cannot compile against Kernel 5.4.x
                 Key: DAHLIN-379
                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-379
             Project: DAHDI-Linux
          Issue Type: Bug
      Security Level: None
          Components: dahdi (the module)
    Affects Versions: 3.1.0
         Environment: Ubuntu 18.04.4 LTS with HWE kernel (5.4.0-42-generic)
            Reporter: Gregory Massel
            Assignee: Keith Morgan


DAHDI 3.1.0 does not compile successfully against kernels 5.4.x:

In file included from /root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x/oct612x-user.c:28:0:
/root/dahdi-linux-complete-3.1.0+3.1.0/linux/include/dahdi/kernel.h:62:10: fatal error: linux/pci-aspm.h: No such file or directory
 #include <linux/pci-aspm.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:273: recipe for target '/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x/oct612x-user.o' failed
make[4]: *** [/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x/oct612x-user.o] Error 1
scripts/Makefile.build:522: recipe for target '/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x' failed
make[3]: *** [/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x] Error 2
Makefile:1731: recipe for target '/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi' failed
make[2]: *** [/root/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-42-generic'
Makefile:74: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/root/dahdi-linux-complete-3.1.0+3.1.0/linux'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list