[Asterisk-Users] Problems compiling Zaptel

Tim C. Lewis tclewis at oreilly.com
Wed Jun 28 11:01:24 MST 2006


Try shutting off asterisk/zaptel and unloading any zaptel modules 
(rmmod zaptel, wcfxo, etc) before doing the make install, so udev removes 
any /dev/ entries associated with them (ie /dev/zap/transcode).  If not 
using udev/devfs, then perhaps unload all zaptel modules, rm -fr /dev/zap, 
then make install.

-tcl.


On Wed, 28 Jun 2006, 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.
>
>
>
>
>
> 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
>
>
>
> Any help is much appreciated.
>
>
> Regards,
>
>
> Mark.
> _______________________________________________
> --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