Koozali.org: home of the SME Server

DAHDI and Asterisk RPMS for CentOS 5 Kernel 2.6.18_348.2.1

Offline apmuthu

  • *
  • 244
  • +0/-0
DAHDI and Asterisk RPMS for CentOS 5 Kernel 2.6.18_348.2.1
« on: March 11, 2013, 03:40:49 PM »
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.zip


The warnings that arose and got fixed were:
Code: [Select]
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

« Last Edit: March 11, 2013, 05:23:27 PM by apmuthu »

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: DAHDI and Asterisk RPMS for CentOS 5 Kernel 2.6.18_348.2.1
« Reply #1 on: March 12, 2013, 04:53:43 PM »
Now CentOS has released the next version of the kernel!
 
kernel-2.6.18-348.3.1.el5.i686.rpm
 
and Asterisk / Digium are yet to catch up.

Better that Digium release the SRPM!
 
http://packages.digium.com/centos/5/current/i386/RPMS/?C=M;O=A
http://packages.asterisk.org/centos/5/current/i386/RPMS/?C=M;O=A
 
« Last Edit: March 13, 2013, 06:56:10 AM by apmuthu »