[asterisk-bugs] [JIRA] (DAHLIN-393) DAHDI no longer compiles due to pcm-aspm

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Tue Oct 12 12:44:49 CDT 2021


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

Shaun Ruffell commented on DAHLIN-393:
--------------------------------------

This is a duplicate of DAHLIN-372

> DAHDI no longer compiles due to pcm-aspm
> ----------------------------------------
>
>                 Key: DAHLIN-393
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-393
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi (the module)
>    Affects Versions: 3.1.0
>         Environment: Debian 10, kernel 5.10
>            Reporter: N A
>            Assignee: Keith Morgan
>            Severity: Major
>
> DAHDI no longer compiles on any system I have tried, at least for one because it tries to include a header file which no longer exists in Linux:
> root at pbxdev:/usr/src/dahdi-linux-3.1.0# make
> make -C drivers/dahdi/firmware firmware-loaders
> make[1]: Entering directory '/usr/src/dahdi-linux-3.1.0/drivers/dahdi/firmware'
> make[1]: Leaving directory '/usr/src/dahdi-linux-3.1.0/drivers/dahdi/firmware'
> make -C /lib/modules/5.10.0-8-amd64/build KBUILD_EXTMOD=/usr/src/dahdi-linux-3.1.0/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-3.1.0/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[1]: Entering directory '/usr/src/linux-headers-5.10.0-8-amd64'
> scripts/Makefile.lib:12: 'hostprogs-y' is deprecated. Please use 'hostprogs' instead
>   CC [M]  /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x/oct612x-user.o
> In file included from /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x/oct612x-user.c:28:
> /usr/src/dahdi-linux-3.1.0/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.
> make[4]: *** [/usr/src/linux-headers-5.10.0-8-common/scripts/Makefile.build:284: /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x/oct612x-user.o] Error 1
> make[3]: *** [/usr/src/linux-headers-5.10.0-8-common/scripts/Makefile.build:501: /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x] Error 2
> make[2]: *** [/usr/src/linux-headers-5.10.0-8-common/Makefile:1845: /usr/src/dahdi-linux-3.1.0/drivers/dahdi] Error 2
> make[1]: *** [/usr/src/linux-headers-5.10.0-8-common/Makefile:185: __sub-make] Error 2
> make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-8-amd64'
> make: *** [Makefile:74: modules] Error 2
> root at pbxdev:/usr/src/dahdi-linux-3.1.0#
> Some discussion here of this header file being removed: https://github.com/mtorromeo/r8168/issues/19
> Removing the header file doesn't make it compile, either.



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



More information about the asterisk-bugs mailing list