On 2013-03-08, Digium released the dahdi-linux v2.6.2 along with the RPMS for the latest CentOS 5 kernel v2.6.18_348.2.1 and SRPMS for the Asterisk RPMS.
Only the kmod-mISDN RPM and SRPM have yet to be released.
I have patched the existing kmod-mISDN SRPM for the latest kernel and suppressed the AUTOCONF warning and the C90 compiler warnings.
Grab the SRPM, RPM, Build Log:
kmod-mISDN-1.1.7.2-3_centos5.2.6.18_348.2.1.el5.i386.zipThe warnings that arose and got fixed were:
CC [M] rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/xhfc_pci2pi.o
In file included from rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/include/linux/isdn_compat.h:124,
from rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/include/linux/mISDNif.h:749,
from rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/channel.h:13,
from rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/xhfc_su.h:28,
from rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/xhfc_pci2pi.c:26:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
To fix: changed each
#include linux/config.h
to
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
===========
rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/hfc_multi.c: In function 'hfcmulti_leds':
rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/hfc_multi.c:1196: warning: ISO C90 forbids mixed declarations and code
rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/hfc_multi.c: In function 'release_ports_hw':
rpmbuild/BUILD/mISDN-1_1_7_2/_kmod_build_/drivers/isdn/hardware/mISDN/hfc_multi.c:3635: warning: ISO C90 forbids mixed declarations and code