New dahdi-linux version which compiles fine at least with kernel 3.18.x The only thing I changed is to delete 04-dentry-macro-removal.diff from gentoo-dahdi-patchset-1.2.0 as this patch is already included in dahdi-linux-2.10.1 Reproducible: Always
+*dahdi-2.10.1 (02 Mar 2015) + + 02 Mar 2015; Tony Vroon <chainsaw@gentoo.org> +dahdi-2.10.1.ebuild: + Version bump, reverting to earlier patchset as suggested by Oliver Jaksch in + bug #541006.
tried installing this with hardened kernel 3.18.9 and got this error: cc1: some warnings being treated as errors scripts/Makefile.build:257: recipe for target '/var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/wcte13xp-base.o' failed make[2]: *** [/var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/wcte13xp-base.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chan_write’: /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:2506:16: note: Function dahdi_chan_write is missing from the size_overflow hash table +dahdi_chan_write+3+21318+ static ssize_t dahdi_chan_write(struct file *file, const char __user *usrbuf, ^ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:2506:16: note: Function dahdi_chan_write is missing from the size_overflow hash table +dahdi_chan_write+3+21318+ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chan_read’: /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:2387:16: note: Function dahdi_chan_read is missing from the size_overflow hash table +dahdi_chan_read+3+44483+ static ssize_t dahdi_chan_read(struct file *file, char __user *usrbuf, ^ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:2387:16: note: Function dahdi_chan_read is missing from the size_overflow hash table +dahdi_chan_read+3+44483+ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c: In function ‘dahdi_reallocbufs’: /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:1209:12: note: Function dahdi_reallocbufs is missing from the size_overflow hash table +dahdi_reallocbufs+3+28170+ static int dahdi_reallocbufs(struct dahdi_chan *ss, int blocksize, int numbufs) ^ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:1209:12: note: Function dahdi_reallocbufs is missing from the size_overflow hash table +dahdi_reallocbufs+2+28170+ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:1209:12: note: Function dahdi_reallocbufs is missing from the size_overflow hash table +dahdi_reallocbufs+3+28170+ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:1209:12: note: Function dahdi_reallocbufs is missing from the size_overflow hash table +dahdi_reallocbufs+2+28170+ /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/wcte43x-base.c: In function ‘t43x_remove_one’: /var/tmp/portage/net-misc/dahdi-2.10.0.1-r1/work/dahdi-linux-2.10.0.1/drivers/dahdi/wcte43x-base.c:3584:2: error: implicit declaration of function ‘smp_mb__after_clear_bit’ [-Werror=implicit-function-declaration] smp_mb__after_clear_bit(); ^ cc1: some warnings being treated as
here is a link for patch that solves the same issue: https://launchpad.net/ubuntu/+source/dahdi-linux/1:2.10.0.1~dfsg-1ubuntu1