[asterisk-bugs] [JIRA] (DAHLIN-397) dahdi-linux fails to build with kernel 5.16: #include <stdbool.h> is missing
Harald Welte (JIRA)
noreply at issues.asterisk.org
Sun Apr 24 11:29:57 CDT 2022
[ https://issues.asterisk.org/jira/browse/DAHLIN-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258843#comment-258843 ]
Harald Welte commented on DAHLIN-397:
-------------------------------------
also fixed in the Osmocom fork in https://gerrit.osmocom.org/c/dahdi-linux/+/26951, which we picked up from Jan Engelhardt fixing it in SuSE packages, as far as I recall. This lack of maintenance by upstream is rather disappointing. Every user has to reinvent the wheel or look at half a dozne of forks.
> dahdi-linux fails to build with kernel 5.16: #include <stdbool.h> is missing
> ----------------------------------------------------------------------------
>
> Key: DAHLIN-397
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-397
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 2.11.1, 3.1.0
> Reporter: Tzafrir Cohen
> Assignee: Duncan Patterson
> Severity: Major
> Labels: patch
> Attachments: 0001-Remove-useless-include-stdbool.h-that-break-5.16.patch
>
>
> In kernel 5.16, gcc includes are no longer added to the kernel build command line.
> We only use stdbool.h from there. This include does not seems necessary: I verified that dahdi-linux can be built vs. kernel 5.16 and 4.4 (the oldest I could build on my system).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list