Hi, I’ve been downloading the latest dahdi-linux using git:
git clone -b next git://git.asterisk.org/dahdi/linux dahdi-linux
This apparently no longer works for my 5.16.15 kernel on fedora34.
What is the correct way to build dahdi-linux for a recent kernel? I’ve figured out how to pull the latest from gerrit.asterisk.org using the following:
git clone https://gerrit.asterisk.org/dahdi-linux dahdi-linux
However, it fails to compile with the following:
CC [M] /root/dahdi-linux/drivers/dahdi/oct612x/oct612x-user.o
In file included from /root/dahdi-linux/drivers/dahdi/oct612x/oct612x-user.c:28:
/root/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>
| ^~~~~~~~~~~~~~~~~~
It doesn’t appear pci-aspm.h is in the kernel source for this version.
Ideas greatly appreciated.