[asterisk-bugs] [JIRA] (DAHLIN-378) DAHDI fails to build with 4.13-4.14 kernel

Pavel Selivanov (JIRA) noreply at issues.asterisk.org
Tue May 19 00:23:25 CDT 2020


     [ https://issues.asterisk.org/jira/browse/DAHLIN-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Selivanov updated DAHLIN-378:
-----------------------------------

    Attachment: kernel.h.patch

> DAHDI fails to build with 4.13-4.14 kernel
> ------------------------------------------
>
>                 Key: DAHLIN-378
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-378
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 3.0.0, 3.0.1, 3.1.0
>         Environment: Oracle Linux Server 7.8
>            Reporter: Pavel Selivanov
>            Assignee: Keith Morgan
>              Labels: patch
>         Attachments: kernel.h.patch
>
>
>   CC [M]  /tmp/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/dahdi-base.o
> /tmp/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/dahdi-base.c: In function ‘coretimer_init’:
> /tmp/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/dahdi-base.c:10114:2: error: implicit declaration of function ‘timer_setup’ [-Werror=implicit-function-declaration]
>   timer_setup(&core_timer.timer, coretimer_func, 0);
> Reason:
> Prior to 4.15 TIMER_DATA_TYPE is defined as unsigned long .
> It's ok for callback.
> But between 4.13-4.14 in-kernel timer_setup is used, but with TIMER_DATA_TYPE argument.
> It's wrong.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list