[AsteriskBrasil] Erro ao compilar zaptel 1.2.5
Noel R. Morais
noelrocha em gmail.com
Quinta Abril 13 18:29:20 BRT 2006
Galera, estou dando $:make linux26 e a saida é a seguinte (o erro esta
la embaixo):
formiga-atomica:/usr/src/zaptel-1.2.5# make linux26
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION="1.2.5" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi
rm -f version.h.tmp
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.6.8-2-386/build
make -C /lib/modules/2.6.8-2-386/build SUBDIRS=/usr/src/zaptel-1.2.5
XPPMOD= modules
make[1]: Entrando no diretório `/usr/src/kernel-headers-2.6.8-2-386'
CC [M] /usr/src/zaptel-1.2.5/zaptel.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /usr/src/zaptel-1.2.5/zaptel.c:45:
include/asm/processor.h:87: error: array type has incomplete element type
/usr/src/zaptel-1.2.5/zaptel.c: In function '__zt_receive_chunk':
/usr/src/zaptel-1.2.5/zaptel.c:6175: warning: pointer targets in
assignment differ in signedness
make[2]: ** [/usr/src/zaptel-1.2.5/zaptel.o] Erro 1
make[1]: ** [_module_/usr/src/zaptel-1.2.5] Erro 2
make[1]: Saindo do diretório `/usr/src/kernel-headers-2.6.8-2-386'
make: ** [linux26] Erro 2
formiga-atomica:/usr/src/zaptel-1.2.5#
alguem tem ideia?
abraços
--
_________
Noel R. Morais
Mais detalhes sobre a lista de discussão AsteriskBrasil