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

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Sat Sep 12 12:55:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/DAHLIN-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251999#comment-251999 ] 

Shaun Ruffell commented on DAHLIN-379:
--------------------------------------

Aren't these the same changes that are already on http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=shortlog;h=refs/heads/next awaiting release by Sangoma?  

I'm also not sure if the policy has changed in the last few years, but historically Digium could not take pull requests since they have a license grant requirement. That is why historically they could only take patches attached to Jira unless you have an account on git.asterisk.org (which you then have signed the license agreement).  Just FYI....  

> 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