Error compiling zaptel-1.2.17.1 on a CentOS 5 platform

I am getting the following error compiling Zaptel 1.2.17.1 and 1.4.2.1
on a CentOS 5 machine:

Compile xpp (version trunk-r3495)
CC [M] /usr/src/zaptel-1.2.17.1/xpp/card_fxo.o
CC [M] /usr/src/zaptel-1.2.17.1/xpp/card_fxs.o
CC [M] /usr/src/zaptel-1.2.17.1/xpp/xbus-core.o
/usr/src/zaptel-1.2.17.1/xpp/xbus-core.c: En la función ‘debugfs_open’:
/usr/src/zaptel-1.2.17.1/xpp/xbus-core.c:171: error: ‘struct inode’ no
tiene un miembro llamado ‘u’
make[3]: *** [/usr/src/zaptel-1.2.17.1/xpp/xbus-core.o] Error 1
make[2]: *** [/usr/src/zaptel-1.2.17.1/xpp] Error 2
make[1]: *** [module/usr/src/zaptel-1.2.17.1] Error 2
make[1]: se sale del directorio `/usr/src/kernels/2.6.18-8.1.1.el5-i686’
make: *** [all] Error 2

    What changed on this new version that it will not compile?.  Zaptel

1.2.16 and 1.4.1 compile on the same machine without any problems.

Thank you

In Centos 5 Kernel the private data member of struct inode hasn’t changed.
Then in line 164 approximately of xbus_core.c file, we must change
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
by
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)

That’s all.