Install dahdi on arm based board compute module 4

configuration
Tags: #<Tag:0x00007f70263b70e8>

(Amardeep Kashyap) #1

HI,
I want to install dahdi on arm based board and on that board we already running custom installation of freepbx without Dahdi.

Kenrel version
Linux raspbx 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
installed Raspbx
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

when try to install error is comming
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
#include <linux/pci-aspm.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:266: /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x/oct612x-user.o] Error 1
make[2]: *** [scripts/Makefile.build:500: /usr/src/dahdi-linux-3.1.0/drivers/dahdi/oct612x] Error 2
make[1]: *** [Makefile:1709: /usr/src/dahdi-linux-3.1.0/drivers/dahdi] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.4.51-v7l+’
make: *** [Makefile:74: modules] Error 2