Estou tentando compilar o zaptel em um CentOS com kernel 2.6.9-34 mas esta dando erro tenho os pacotes instalado: [root em asterisk 2.6.9-34.EL-i686]# rpm -qa | grep kernel kernel-2.6.9-34.EL kernel-utils-2.4-13.1.80 kernel-devel-2.6.9-34.EL
achei que poderia ser esse kernel-utils-2.4 mas com o yum tenho [root em asterisk 2.6.9-34.EL-i686]# yum update kernel-utils Setting up Update Process Setting up repositories Reading repository metadata in from local files Could not find update match for kernel-utils No Packages marked for Update/Obsoletion ESTE É O ERRO, ALGUEM JÁ PASSOU POR ISSO? /lib/modules/2.6.9-34.EL/build make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/asterisk/zaptel-1.2.5 XPPMOD= modules make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M] /usr/src/asterisk/zaptel-1.2.5/zaptel.o /usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: syntax error before "zone_lock" /usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: warning: type defaults to `int' in declaration of `zone_lock' /usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: incompatible types in initialization /usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: initializer element is not constant /usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: warning: data definition has no type or storage class /usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: error: syntax error before "chan_lock" /usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: warning: type defaults to `int' in declaration of `chan_lock' /usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: error: incompatible types in initialization /usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: error: initializer element is not constant /usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: warning: data definition has no type or storage class /usr/src/asterisk/zaptel-1.2.5/zaptel.c:188: warning: 'fcstab' defined but not used make[2]: ** [/usr/src/asterisk/zaptel-1.2.5/zaptel.o] Erro 1 make[1]: ** [_module_/usr/src/asterisk/zaptel-1.2.5] Erro 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686' make: ** [linux26] Erro 2 Obrigado.