Spam? Re: [Asterisk-Users] Failed installing zaptel

Chuck Bunn chuck.bunn at networkdoc.com
Mon Mar 13 11:57:40 MST 2006


Hi,

I had asterisk running great on Centos 4.2 - kernel-2.6.9.22.EL, my 
problems did not start until I accidentially upgraded to 
kernel-2.6.9-34.EL. If you use Centos yum for updating then make sure 
you add 'exclude=kernel*' to the /etc/yum.conf file - my problems 
started when I acidentially forgot to do this.

Thanks

Hall, Eric M. wrote:

>Chuck,
>  Thank You
>I'm also going to try CentOS 3
>
>The problem is I have SATA HDD and running in to trouble getting Linux
>installed. Will update after I test Ver 3
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chuck Bunn
>Sent: Monday, March 13, 2006 12:45 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Spam? Re: [Asterisk-Users] Failed installing zaptel
>
>Hi,
>
>I am having the same exact problem. I am assuming that it was a problem
>with a kernel update I did. I am in the process of rolling back to an
>older kernel... I will let you let know if this works. There is also a
>patch for zaptel but I believe this is for going from 1.3 to 1.4?
>
>Thanks
>
>Hall, Eric M. wrote:
>
>  
>
>>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
>>_______________________________________________
>>--Bandwidth and Colocation provided by Easynews.com --
>>
>>Asterisk-Users mailing list
>>To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>>
>>
>> 
>>
>>    
>>
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
>  
>




More information about the asterisk-users mailing list