John Covici
2023-Jul-06 23:08 UTC
[asterisk-users] problem getting dahdi-linux to work with kernel 6.1.0-10
Hi. I have run into a problem compiling dahdi-linux in kernel 6.1.0-10. Apparently there was a change, so I found a patch to fix stdbool.h but now I have an implicit declaration of pci_alloc_consistent in drivers/dahdi/wct4xxp/base.c I don't see any other references to that name anywhere. I am using version from git 5c840cf43838e0690873e73409491c392333b3b8 . So, the question, how to fix, so I can get the tompile to work? Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com
asterisk at phreaknet.org
2023-Jul-06 23:24 UTC
[asterisk-users] problem getting dahdi-linux to work with kernel 6.1.0-10
On 7/6/2023 7:08 PM, John Covici wrote:> Hi. I have run into a problem compiling dahdi-linux in kernel > 6.1.0-10. Apparently there was a change, so I found a patch to fix > stdbool.h but now I have an implicit declaration of > pci_alloc_consistent in drivers/dahdi/wct4xxp/base.c I don't see any > other references to that name anywhere. I am using version from git > 5c840cf43838e0690873e73409491c392333b3b8 . > > So, the question, how to fix, so I can get the tompile to work?The problem here is that Sangoma has not been keeping DAHDI Linux in the mainline tree up to date with Linux kernel changes. It's a couple years behind at this point. There are plans to get this fixed soon, hopefully (by soon, within a couple months, optimistically), but in the meantime you shouldn't expect the official Sangoma tarballs to compile successfully at all, at least on their own. There is an umerged PR[1] up on the repo that should address this particular issue. A number of DAHDI developers have also been maintaining DAHDI out of tree so that it can compile. You can check out PhreakScript[2] which will install DAHDI for you with all the necessary patches to fix a large number of compilation issues. [1] https://github.com/asterisk/dahdi-linux/pull/17 [2] https://github.com/InterLinked1/phreakscript
Possibly Parallel Threads
- problem with new install with asterisk 15.7.4
- audio problem with asterisk and meetme conference
- audio problem with asterisk and meetme conference
- audio problem with asterisk and meetme conference
- trying to upgrade asterisk and Debian -- not working (John Covici)