[Asterisk-Users] Failed installing zaptel
Chuck Bunn
chuck.bunn at networkdoc.com
Mon Mar 13 12:34:26 MST 2006
Hi,
I finally fixed this problem by reverting back to the 2.6.9-22.El
kernel. Do the following if the 2.6.9-33.El kernel was installed:
yum remove kernel-2.6.9-33.EL
yum remove kernel-devel-2.6.9-33.EL
vi /boot/grub/grub.conf and remove refences to new kernel... (this was
the part I forgot to do the first time I tried this)
reboot
check to make sure the proper kernel is installed type 'uname -r' and
you should get back 2.6.9-22.EL
rerun "make clean && make linux26 && make install" and it should work fine.
Make sure you have a link to the 2.6 kernel (ln -s
/lib/modules/uname-r/build/ linux-2.6) as well.
Thanks
John covici wrote:
>Possibly you have a problem with your kernel sources -- either you did
>notdo a make oldconfig or some kind of make config against them,or its
>something wrong with the RedHat sources -- you might try a source
>from ftp.kernel.org and do make oldconfig with your .config and try
>again.
>
>on Monday 03/13/2006 Chuck Bunn(chuck.bunn at networkdoc.com) wrote
> > 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
>
>
>
More information about the asterisk-users
mailing list