[Asterisk-Users] Problems compiling Zaptel

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jun 28 11:31:28 MST 2006


On Thu, Jun 29, 2006 at 01:32:36AM +0800, Mark Davies wrote:
> 
> 
> asterisk:~# apt-get install kernel-headers-`uname -r`
> Reading Package Lists... Done
> Building Dependency Tree... Done
> kernel-headers-2.4.27-2-386 is already the newest version.
> 

2.4.27-*2*-386?

> 
> 
> Tzafrir Cohen wrote:
> >On Wed, Jun 28, 2006 at 05:22:17PM +0800, Mark Davies wrote:
> >>Hi guys,
> >>
> >>I'm getting the following error when trying to compile zaptel on a 
> >>debian machine running 2.4.27-3-386.

If so: where is this 2.4.27-*3*-386 come from?

> >>
> >
> >What kernel-headers/kernel-source?
> >
> >I hope you didn't extract a source tarball of 2.4.27/debian and linked
> >it to /usr/src/linux .
> >
> >apt-get install kernel-headers-`uname -r`
> >
> >>
> >>
> >>
> >>gcc -g -c  -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE 
> >>-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -I. -Iinclude 
> >>-O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
> >>-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o zttool.o zttool.c
> >>gcc -lnewt   zttool.o   -o zttool
> >>gcc -shared -Wl,-soname,libtonezone.so.1.0 -lm -o libtonezone.so 
> >>zonedata.lo tonezone.lo
> >>make[1]: Leaving directory `/usr/src/zaptel'
> >>mkdir -p /dev/zap
> >>rm -f /dev/zap/ctl
> >>rm -f /dev/zap/channel
> >>rm -f /dev/zap/pseudo
> >>rm -f /dev/zap/timer
> >>rm -f /dev/zap/253
> >>rm -f /dev/zap/252
> >>rm -f /dev/zap/251
> >>rm -f /dev/zap/250
> >>mknod /dev/zap/ctl c 196 0
> >>mknod /dev/zap/transcode c 196 250
> >>mknod: `/dev/zap/transcode': File exists
> >>make: *** [devices] Error 1
> >>
> >>
> >>
> >>And when I try to modprobe the X100P card, I get the following.
> >>
> >>
> >>asterisk:/usr/src/zaptel# modprobe wcfxo
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>remove_wait_queue_R5dbd8645
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>__pollwait_R43c77cc3
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>create_proc_entry_Ra52db232
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>proc_mkdir_Rba727c62
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>add_wait_queue_Rf89d8ae0
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: unresolved symbol 
> >>remove_proc_entry_Rf2afedc2
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: insmod 
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o failed
> >>/lib/modules/2.4.27-3-386/misc/zaptel.o: insmod wcfxo failed
> >
> >This reminds me of the error messages that required the change 2.4.27-1
> >=> 2,4,27-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
> 

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list