On Thu, Oct 03, 2019 at 08:59:29AM -0400, Jerry Geis wrote: > 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,
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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users