[Asterisk-Users] Failed installing zaptel

Hall, Eric M. ehall at amaxx.com
Mon Mar 13 10:22:17 MST 2006


Group
 Having trouble installing zaptel. Below is my server specs

Intel Motherboard D101GGC
TE405P
CentOS-4.2-i386



Here is the output trying to do a 'make'
===============================================

make clean
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttool zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
[root at exterm-dayton zaptel]# make
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
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.9-34.ELsmp/build
make -C /lib/modules/2.6.9-34.ELsmp/build SUBDIRS=/usr/src/zaptel
modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-smp-i686'
  CC [M]  /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c:372: error: syntax error before "zone_lock"
/usr/src/zaptel/zaptel.c:372: warning: type defaults to `int' in
declaration of `zone_lock'
/usr/src/zaptel/zaptel.c:372: error: incompatible types in
initialization
/usr/src/zaptel/zaptel.c:372: error: initializer element is not constant
/usr/src/zaptel/zaptel.c:372: warning: data definition has no type or
storage class
/usr/src/zaptel/zaptel.c:373: error: syntax error before "chan_lock"
/usr/src/zaptel/zaptel.c:373: warning: type defaults to `int' in
declaration of `chan_lock'
/usr/src/zaptel/zaptel.c:373: error: incompatible types in
initialization
/usr/src/zaptel/zaptel.c:373: error: initializer element is not constant
/usr/src/zaptel/zaptel.c:373: warning: data definition has no type or
storage class
/usr/src/zaptel/zaptel.c: In function `free_tone_zone':
/usr/src/zaptel/zaptel.c:1022: warning: passing arg 1 of `_write_lock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c:1025: warning: passing arg 1 of `_write_unlock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_register_tone_zone':
/usr/src/zaptel/zaptel.c:1035: warning: passing arg 1 of `_write_lock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c:1042: warning: passing arg 1 of `_write_unlock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `set_tone_zone':
/usr/src/zaptel/zaptel.c:1083: warning: passing arg 1 of `_read_lock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c:1095: warning: passing arg 1 of `_read_unlock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_chan_reg':
/usr/src/zaptel/zaptel.c:1176: warning: passing arg 1 of
`_write_lock_irqsave' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1199: warning: passing arg 1 of
`_write_unlock_irqrestore' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_chan_unreg':
/usr/src/zaptel/zaptel.c:1572: warning: passing arg 1 of
`_write_lock_irqsave' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1608: warning: passing arg 1 of
`_write_unlock_irqrestore' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl':
/usr/src/zaptel/zaptel.c:3331: warning: passing arg 1 of `_write_lock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c:3333: warning: passing arg 1 of `_write_unlock'
from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_init':
/usr/src/zaptel/zaptel.c:6536: error: incompatible types in assignment
/usr/src/zaptel/zaptel.c: At top level:
/usr/src/zaptel/zaptel.c:176: warning: 'fcstab' defined but not used
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-smp-i686'
make: *** [linux26] Error 2



More information about the asterisk-users mailing list