Building latest dahdi-linux

Hi, I’ve been downloading the latest dahdi-linux using git:

git clone -b next git:// 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 using the following:

git clone 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.

This may help:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.