Estuve teniendo el siguiente error cuando estaba compilando el Zaptel 1.2 y/o 1.4 (ultimas versiones estables) en un servidor CentOS 5:
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
¿Que es lo que cambio en la versión de CentOS que no quiere compilar?. El Zaptel 1.2 y/o 1.4 me compilaron bien en esa misma máquina sin ningún problema cuando estaba con el CentOS 4.4 hasta ayer y 4.5 el día de hoy.
Solución
En el Kernel de Centos 5 el private data member del struct inode no ha cambiado.
Entonces, buscando aproximadamente en la linea 165 del archivo xbus_core.c de las fuentes del zaptel, deberán efectuar el siguiente cambio
Buscar esta linea
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) Y cambiarla por #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) Con eso compiló y funcionó 100 puntos Alex Celi
Mil Gracias
Funcion{o muy bien, me ahorraste horas de trabajo!!!
Polo
Gracias Alex, estaba con este problema de la compilacion del zaptel con Centos 5 y tu solucion fue acertada. Nice hack!
Que bueno que les haya servido…
Para las últimas versiones de zaptel tambien sirve
Alex Celi
Hola, estoy tratando de compilar zaptel y lo cambie como mencionaste
aparece dos:
#if LINUX_VERSION_CODE
Compañero, me quito el sombrero.
Este error me sale cuando empiezo a instalar zaptel en Linux CentOS 5 , exactamente cuando escribo el comando ./configure sale este error al final.
Alguien podria ayudarme ?
Instale los paquetes requeridos para instalar zaptel, libpri y asterisk, el unico paquete que no pude instalar con Yum fue kernel-smp-devel
este es el resultado de las ultimas lineas al darle ./configure cuando instalo zaptel.
make[3]: se sale del directorio `/usr/src/zaptel-1.4.12.1/menuselect/mxml’
gcc -o menuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a mxml/libmxml.a -lncurses
make[2]: se sale del directorio `/usr/src/zaptel-1.4.12.1/menuselect’
make[1]: se sale del directorio `/usr/src/zaptel-1.4.12.1/menuselect’
Generating input for menuselect …
make[1]: se ingresa al directorio `/usr/src/zaptel-1.4.12.1′
echo “You do not appear to have the sources for the 2.6.18-128.el5 kernel installed.”
You do not appear to have the sources for the 2.6.18-128.el5 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: se sale del directorio `/usr/src/zaptel-1.4.12.1′
make: *** [all] Error 2
UNa correcion, el error me sale cuando le doy al comando make, despues del ./configure, graciass
Esto no funciona en centos 5.3… puta con razon estas mierdas de linux no se masifican… todos tiene un puto problema diferente!!! al la mierda con GNU…. definitivamente VALE CALLAMPA!!!!
Estimado buenos dias espero que me ayuda modifique como lo indicas pero no me da resultado
esta asi
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
lo habilite asi
if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
endif
error al final cuando ejecuto MAKE
make[3]: *** [/usr/local/Software/zaptel-1.2.27/xpp/card_fxo.o] Error 1
make[2]: *** [/usr/local/Software/zaptel-1.2.27/xpp] Error 2
make[1]: *** [_module_/usr/local/Software/zaptel-1.2.27] Error 2
make[1]: se sale del directorio `/usr/src/kernels/2.6.18-348.el5-x86_64'
make: *** [modules] Error 2
VERSION DE CENTOS VERSIO 5 64BITS
Next time I read a blog, Hopefully it does not disappoint me just as much as this particular one. After all, Yes, it was my choice to read through, but I really thought you’d have something helpful to talk about. All I hear is a bunch of whining about something that you could possibly fix if you were not too busy searching for attention.
I am normally a linguistics learner, but am fond of what a detailed guide you made here today. You could learn alot from this. Very Polished detail.
Hi would you mind letting me know which webhost you’re using? I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot faster then most. Can you recommend a good internet hosting provider at a reasonable price? Thank you, I appreciate it!
I am glad to be a visitor of this arrant web blog! , thankyou for this rare information! .
buy domains
thank you!thank you!win 1 scrapebox license
win ferrari
learn to win money
buy domains
deviant art
win money
thank you!thank you!win 1 scrapebox license
google ads
tinder website , tinder sign up https://tinderdatingsiteus.com/