[asterisk-bugs] [JIRA] (DAHLIN-375) dahdi fails to build on linux >= 5.4.1 due to missing `pci-aspm.h`

Andrew Siplas (JIRA) noreply at issues.asterisk.org
Wed Mar 4 15:08:25 CST 2020


Andrew Siplas created DAHLIN-375:
------------------------------------

             Summary: dahdi fails to build on linux >= 5.4.1 due to missing `pci-aspm.h`
                 Key: DAHLIN-375
                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-375
             Project: DAHDI-Linux
          Issue Type: Bug
      Security Level: None
          Components: dahdi (the module)
    Affects Versions: 3.1.0
         Environment: Linux home 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
            Reporter: Andrew Siplas
            Assignee: Keith Morgan


dahdi fails to build on kernel >= 5.4.1 after function prototypes and definitions formerly in *pci-aspm.h* were moved to *pci.h*.

See also [https://lore.kernel.org/linux-acpi/20190827095620.11213-1-kw@linux.com/]

{noformat}
In file included from /home/andrew/src/dahdi-linux/drivers/dahdi/oct612x/oct612x-user.c:28:
/home/build/src/dahdi-linux/include/dahdi/kernel.h:62:10: fatal error: linux/pci-aspm.h: No such file or directory
   62 | #include <linux/pci-aspm.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
{noformat}



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



More information about the asterisk-bugs mailing list