#ifdef __KERNEL__ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) /* pretend every 2.6.9 is later RHEL */ #if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9) && defined(DEFINE_SPINLOCK) typedef unsigned gfp_t; /* Added in 2.6.14 */ #endif #endif ----------- begin build ------------- CC [M] /usr/src/asterisk/zaptel-1.2.15/wct4xxp/../oct612x/apilib/llman/octapi_llman.o LD [M] /usr/src/asterisk/zaptel-1.2.15/wct4xxp/wct4xxp.o CC [M] /usr/src/asterisk/zaptel-1.2.15/wctc4xxp/base.o LD [M] /usr/src/asterisk/zaptel-1.2.15/wctc4xxp/wctc4xxp.o Compile xpp (version trunk-r3495) CC [M] /usr/src/asterisk/zaptel-1.2.15/xpp/card_fxo.o In file included from /usr/src/asterisk/zaptel-1.2.15/xpp/card_fxo.c:27: /usr/src/asterisk/zaptel-1.2.15/xpp/xpd.h:111: error: syntax error before "gfp_t" /usr/src/asterisk/zaptel-1.2.15/xpp/xpd.h:111: warning: function declaration isn't a prototype In file included from /usr/src/asterisk/zaptel-1.2.15/xpp/card_fxo.c:32: /usr/src/asterisk/zaptel-1.2.15/xpp/xbus-core.h:46: error: syntax error before "gfp_t" /usr/src/asterisk/zaptel-1.2.15/xpp/xbus-core.h:46: warning: function declaration isn't a prototype make[3]: *** [/usr/src/asterisk/zaptel-1.2.15/xpp/card_fxo.o] Error 1 make[2]: *** [/usr/src/asterisk/zaptel-1.2.15/xpp] Error 2 make[1]: *** [_module_/usr/src/asterisk/zaptel-1.2.15] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686' make: *** [all] Error 2