[asterisk-bugs] [JIRA] (DAHLIN-363) dahdi not compile in centos 7
otmane sar (JIRA)
noreply at issues.asterisk.org
Fri Sep 14 09:58:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/DAHLIN-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244812#comment-244812 ]
otmane sar commented on DAHLIN-363:
-----------------------------------
this solution or patch not working with kernel 4.18.3
> dahdi not compile in centos 7
> -------------------------------
>
> Key: DAHLIN-363
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-363
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: dahdi (the module)
> Affects Versions: 2.11.1
> Environment: centos 7 , kernel 4.18.3-1.el7.elrepo.x86_64 .
> Reporter: otmane sar
> Assignee: Jean Galarneau
> Labels: asterisk
>
> dahdi-linux-complete-2.11.1+2.11.1]# make
> make -C linux all
> make[1]: Entering directory `/root/dahdi-linux-complete-2.11.1+2.11.1/linux'
> make -C drivers/dahdi/firmware firmware-loaders
> make[2]: Entering directory `/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
> make[2]: Leaving directory `/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
> make -C /lib/modules/4.18.3-1.el7.elrepo.x86_64/build SUBDIRS=/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi DAHDI_INCLUDE=/root/dahdi-linux-complete-2.11.1+2.11.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[2]: Entering directory `/usr/src/kernels/4.18.3-1.el7.elrepo.x86_64'
> CC [M] /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.o
> /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.c: In function ‘wctc4xxp_net_waitfor_promiscuous’:
> /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.c:617:3: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
> if (signal_pending(current)) {
> ^
> /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.c: In function ‘wctc4xxp_init_one’:
> /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.c:4092:2: error: implicit declaration of function ‘setup_timer’ [-Werror=implicit-function-declaration]
> setup_timer(&wc->watchdog, wctc4xxp_watchdog, (unsigned long)wc);
> ^
> cc1: some warnings being treated as errors
> make[4]: *** [/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp/base.o] Error 1
> make[3]: *** [/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wctc4xxp] Error 2
> make[2]: *** [_module_/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi] Error 2
> make[2]: Leaving directory `/usr/src/kernels/4.18.3-1.el7.elrepo.x86_64'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/root/dahdi-linux-complete-2.11.1+2.11.1/linux'
> make: *** [all] Error 2
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list