Error Compile Dahdi 3 On CentOS 7.7
What should I do about the below error? Compiling from source. CentOS 7.7
is fully updated.
Thanks
Jerry
In file included from digium/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/dahdi-base.c:68:0:
digium/dahdi-linux-complete-3.0.0+3.0.0/linux/include/dahdi/kernel.h:1422:1:
error: conflicting types for ‘timer_setup’
timer_setup(struct timer_list *timer,
^
In file included from include/linux/workqueue.h:8:0,
from include/linux/srcu.h:34,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:881,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from digium/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/dahdi-base.c:40:
include/linux/timer.h:164:20: note: previous definition of ‘timer_setup’
was here static inline void timer_setup(struct timer_list *timer,
3 thoughts on - Error Compile Dahdi 3 On CentOS 7.7
You should be able to install dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1.tar.gz [1] which contains a commit [2] that handles the fact that RHEL backported the new timer_setup interface.
[1] http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1.tar.gz
[2] http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=8c8b9b6df0d5757cad25b40efeb15ba1a7c95bdf
(although it looks like the dahdi-linux-complete tarball has not been updated since the final 3.1.0 was released)
Cheers, Shaun
—
This works – when will the tar be updated ?
Thanks,
Jerry
Unfortunately, I do not have any specific insight that would allow me to answer this question.
Cheers, Shaun
—