[asterisk-users] FC2 and Zaptel

Jay Ray jonty_11 at yahoo.com
Sun Aug 3 23:02:48 CDT 2008


Hi,

 I am using an older Fedora - FC2 and trying to install zaptel.(for X100P card I have - FXO with one line port and one Phone port)

Fist I tried installin from RPM...as given here (also tried installing Zapata) http://www.voip-info.org/wiki/view/Asterisk+Linux+Fedora (FC2 is at the end)

But looks like zaptel executable was not there...same for zapata...

Then I started on downloading the source, I successfully completed MAKE for zaptel...but make install has following error...Full o/p follows:
=========================================================
[root at fedoracore2uk zaptel]# make install
make[1]: Entering directory `/usr/src/zaptel'
make -C /lib/modules/2.6.10-1.771_FC2/build ARCH=i386 SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" modules
make[2]: Entering directory `/lib/modules/2.6.10-1.771_FC2/build'

  Building modules, stage 2.
  MODPOST
*** Warning: "class_device_destroy" [/usr/src/zaptel/kernel/zaptel.ko] undefined!
make[2]: Leaving directory `/lib/modules/2.6.10-1.771_FC2/build'
make[2]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
make[1]: Leaving directory `/usr/src/zaptel'
install -d /etc/udev/rules.d
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
build_tools/uninstall-modules dahdi 2.6.10-1.771_FC2
make -C /lib/modules/2.6.10-1.771_FC2/build ARCH=i386 SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[1]: Entering directory `/lib/modules/2.6.10-1.771_FC2/build'
  INSTALL /usr/src/zaptel/kernel/pciradio.ko
  INSTALL /usr/src/zaptel/kernel/tor2.ko
  INSTALL /usr/src/zaptel/kernel/torisa.ko
  INSTALL /usr/src/zaptel/kernel/wcfxo.ko
  INSTALL /usr/src/zaptel/kernel/wct1xxp.ko
  INSTALL /usr/src/zaptel/kernel/wct4xxp/wct4xxp.ko
  INSTALL /usr/src/zaptel/kernel/wctc4xxp/wctc4xxp.ko
  INSTALL /usr/src/zaptel/kernel/wctdm.ko
  INSTALL /usr/src/zaptel/kernel/wctdm24xxp/wctdm24xxp.ko
  INSTALL /usr/src/zaptel/kernel/wcte11xp.ko
  INSTALL /usr/src/zaptel/kernel/wcte12xp/wcte12xp.ko
  INSTALL /usr/src/zaptel/kernel/wcusb.ko
  INSTALL /usr/src/zaptel/kernel/xpp/xpd_fxo.ko
  INSTALL /usr/src/zaptel/kernel/xpp/xpd_fxs.ko
  INSTALL /usr/src/zaptel/kernel/xpp/xpd_pri.ko
  INSTALL /usr/src/zaptel/kernel/xpp/xpp.ko
  INSTALL /usr/src/zaptel/kernel/xpp/xpp_usb.ko
  INSTALL /usr/src/zaptel/kernel/zaptel.ko
  INSTALL /usr/src/zaptel/kernel/ztd-eth.ko
  INSTALL /usr/src/zaptel/kernel/ztd-loc.ko
  INSTALL /usr/src/zaptel/kernel/ztdummy.ko
  INSTALL /usr/src/zaptel/kernel/ztdynamic.ko
  INSTALL /usr/src/zaptel/kernel/zttranscode.ko
make[1]: Leaving directory `/lib/modules/2.6.10-1.771_FC2/build'
[ `id -u` = 0 ] && /sbin/depmod -a 2.6.10-1.771_FC2 || :
make[1]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
make[1]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
install -d /usr/sbin
install genzaptelconf fpga_load zt_registration xpp_sync lszaptel xpp_blink zapconf zaptel_hardware  /usr/sbin/
install -d /usr/share/zaptel
install -m 644 ../firmwares/FPGA_1141.hex ../firmwares/FPGA_1151.hex ../firmwares/FPGA_FXS.hex ../firmwares/USB_FW.hex init_fxo_modes /usr/share/zaptel/
install ../init_card_1_30 ../init_card_2_30 ../init_card_3_30 ../init_card_4_30 xpp_fxloader /usr/share/zaptel/
install -d /usr/share/man/man8
install -m 644 genzaptelconf.8 fpga_load.8 zt_registration.8 xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8 /usr/share/man/man8/
install -d /etc/hotplug/usb
install -m 644 xpp_fxloader.usermap /etc/hotplug/usb/
# for backward compatibility and for hotplug users:
ln -sf /usr/share/zaptel/xpp_fxloader /etc/hotplug/usb/
install -d /etc/udev/rules.d
install -m 644 xpp.rules /etc/udev/rules.d/
install -d /usr/lib/perl5/site_perl/5.8.3
for i in Zaptel Zaptel/Xpp Zaptel/Config Zaptel/Hardware; \
do \
        install -d "/usr/lib/perl5/site_perl/5.8.3/$i"; \
done
for i in Zaptel.pm Zaptel/Chans.pm Zaptel/Hardware.pm Zaptel/Span.pm Zaptel/Utils.pm Zaptel/Xpp.pm Zaptel/Xpp/Line.pm Zaptel/Xpp/Xbus.pm Zaptel/Xpp/Xpd.pm Zaptel/Config/Defaults.pm Zaptel/Hardware/PCI.pm Zaptel/Hardware/USB.pm; \
do \
        install -m 644 "zconf/$i" "/usr/lib/perl5/site_perl/5.8.3/$i"; \
done
make[1]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
install -d /sbin
install  fxotune ztcfg ztmonitor ztspeed zttest ztscan zttool /sbin/
install -d /usr/share/man/man8
install -m 644 doc/fxotune.8 doc/ztcfg.8 doc/ztmonitor.8 doc/ztspeed.8 doc/zttest.8 doc/ztscan.8 doc/zttool.8 /usr/share/man/man8/
/usr/bin/install -c -D -m 755 libtonezone.a /usr/lib/libtonezone.a
/usr/bin/install -c -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
if [ `id -u` = 0 ]; then \
        /sbin/ldconfig || : ;\
fi
rm -f /usr/liblibtonezone.so
/bin/ln -sf libtonezone.so.1.0 \
        /usr/lib/libtonezone.so.1
/bin/ln -sf libtonezone.so.1.0 \
        /usr/lib/libtonezone.so
/sbin/restorecon -v /usr/lib/libtonezone.so
/usr/bin/install -c -D -m 644 kernel/zaptel.h /usr/include/zaptel/zaptel.h
/usr/bin/install -c -D -m 644 tonezone.h /usr/include/zaptel/tonezone.h
make -C firmware hotplug-install DESTDIR= HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/usr/src/zaptel/firmware'
make[1]: *** No rule to make target `zaptel-fw-oct6114-128-1.05.01.tar.gz', needed by `hotplug-install'.  Stop.
make[1]: Leaving directory `/usr/src/zaptel/firmware'
make: *** [install-firmware] Error 2
You have new mail in /var/spool/mail/root
==============================================================

Any ideas would be appreciated on how to fix this....

Thx,
Jay


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080803/6e39e762/attachment.htm 


More information about the asterisk-users mailing list