I am following the wiki page here http://wiki.freeswitch.org/wiki/OpenZAP#Zaptel_Installation
setup is on Ubuntu 9.0.4 using the debian method, when I run module-assistant build zaptel-source the compilation fails as below, not sure what I am missing, reading further FS wiki pages and googling haven't enlightened me, any suggestions? I am trying to get 2x X100P's working dh_testdir dh_testroot rm -f *-stamp # Delete the generated bristuff symlinks: rm -f -f cwain.[ch] qozap.[ch] zaphfc.[ch] ztgsm.[ch] # Add here commands to clean up after the build process. rm -rf modexamples rm -f tonezones.txt rm -f version.h rm -rf debian/fake # * Makefile does not exist when running svn-buildpackage # as the source tree is not there. # FIXME: This will fail with an ugly warning on the clean of the # modules build. However only fter the actuual clean. [ ! -f Makefile ] || /usr/bin/make dist-clean || true make[1]: Entering directory `/usr/src/modules/zaptel' make: Entering an unknown directory make: Leaving an unknown directory rm -f torisatool rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f libtonezone.so libtonezone.a *.lo /usr/bin/make -C /usr/src/linux ARCH=i386 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-server' CLEAN /usr/src/modules/zaptel/kernel CLEAN /usr/src/modules/zaptel/kernel/.tmp_versions make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-server' make[2]: Entering directory `/usr/src/modules/zaptel/kernel/xpp/utils' rm -f *.o init_fxo_modes print_modes perlcheck zt_registration.8 xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8 make[2]: Leaving directory `/usr/src/modules/zaptel/kernel/xpp/utils' make: Entering an unknown directory make: Leaving an unknown directory make[1]: Leaving directory `/usr/src/modules/zaptel' #rm -f debian/manpage.links debian/manpage.refs debian/*.8 dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/zaptel' dh_testdir dh_testroot rm -f *-stamp # Delete the generated bristuff symlinks: rm -f -f cwain.[ch] qozap.[ch] zaphfc.[ch] ztgsm.[ch] # Add here commands to clean up after the build process. rm -rf modexamples rm -f tonezones.txt rm -f version.h rm -rf debian/fake # * Makefile does not exist when running svn-buildpackage # as the source tree is not there. # FIXME: This will fail with an ugly warning on the clean of the # modules build. However only fter the actuual clean. [ ! -f Makefile ] || /usr/bin/make dist-clean || true make[2]: Entering directory `/usr/src/modules/zaptel' make: Entering an unknown directory make: *** menuselect: No such file or directory. Stop. make: Leaving an unknown directory make[2]: [clean] Error 2 (ignored) rm -f torisatool rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f libtonezone.so libtonezone.a *.lo /usr/bin/make -C /usr/src/linux ARCH=i386 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor make[3]: Entering directory `/usr/src/linux-headers-2.6.28-11-server' make[3]: Leaving directory `/usr/src/linux-headers-2.6.28-11-server' make[3]: Entering directory `/usr/src/modules/zaptel/kernel/xpp/utils' rm -f *.o init_fxo_modes print_modes perlcheck zt_registration.8 xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8 make[3]: Leaving directory `/usr/src/modules/zaptel/kernel/xpp/utils' make: Entering an unknown directory make: *** ppp: No such file or directory. Stop. make: Leaving an unknown directory make[2]: *** [clean] Error 2 make[2]: Leaving directory `/usr/src/modules/zaptel' #rm -f debian/manpage.links debian/manpage.refs debian/*.8 dh_clean for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.28-11-server/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.28-11-server/g ;s/#KVERS#/2.6.28-11-server/g ; s/_KVERS_/2.6.28-11-server/g ; s/##KDREV##/2.6.28-11.42 done dh_testdir dh_testroot dh_clean -k cp -a /usr/src/modules/zaptel/debian/generated/* . ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for GNU make... make checking for grep... /bin/grep checking for sh... /bin/bash checking for ln... /bin/ln checking for wget... /usr/bin/wget checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for newtBell in -lnewt... no checking for usb_init in -lusb... no configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating build_tools/make_firmware_object configure: *** Zaptel build successfully configured *** make MODULES_EXTRA="ds1x1f opvxa1200 wcopenpci cwain qozap zaphfc ztgsm" SUBDIRS_EXTRA="vzaphfc oslec" modules KERNEL_SOURCES=/usr make[2]: Entering directory `/usr/src/modules/zaptel' make -C /usr/src/linux ARCH=i386 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o toris make[3]: Entering directory `/usr/src/linux-headers-2.6.28-11-server' gcc -o /usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/makefw.c /usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/pciradio.rbt radfw > /usr/src/modules/zaptel/kernel/radfw.h Loaded 42096 bytes from file CC [M] /usr/src/modules/zaptel/kernel/pciradio.o /usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/tormenta2.rbt tor2fw > /usr/src/modules/zaptel/kernel/tor2fw. Loaded 69900 bytes from file CC [M] /usr/src/modules/zaptel/kernel/tor2.o CC [M] /usr/src/modules/zaptel/kernel/torisa.o CC [M] /usr/src/modules/zaptel/kernel/wcfxo.o CC [M] /usr/src/modules/zaptel/kernel/wct1xxp.o CC [M] /usr/src/modules/zaptel/kernel/wctdm.o /usr/src/modules/zaptel/kernel/wctdm.c: In function 'wctdm_proslic_getreg_indirect': /usr/src/modules/zaptel/kernel/wctdm.c:671: warning: format not a string literal and no format arguments CC [M] /usr/src/modules/zaptel/kernel/wcte11xp.o CC [M] /usr/src/modules/zaptel/kernel/wcusb.o CC [M] /usr/src/modules/zaptel/kernel/zaptel-base.o /usr/src/modules/zaptel/kernel/zaptel-base.c: In function 'zt_ppp_xmit': /usr/src/modules/zaptel/kernel/zaptel-base.c:1751: warning: comparison of distinct pointer types lacks a cast /usr/src/modules/zaptel/kernel/zaptel-base.c:1814: warning: comparison of distinct pointer types lacks a cast LD [M] /usr/src/modules/zaptel/kernel/zaptel.o CC [M] /usr/src/modules/zaptel/kernel/ztd-eth.o CC [M] /usr/src/modules/zaptel/kernel/ztd-loc.o CC [M] /usr/src/modules/zaptel/kernel/ztdummy.o /usr/src/modules/zaptel/kernel/ztdummy.c: In function 'ztdummy_hr_int': /usr/src/modules/zaptel/kernel/ztdummy.c:203: error: 'struct hrtimer' has no member named 'expires' make[4]: *** [/usr/src/modules/zaptel/kernel/ztdummy.o] Error 1 make[3]: *** [_module_/usr/src/modules/zaptel/kernel] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.28-11-server' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/modules/zaptel' make[1]: *** [binary-modules] Error 2 make[1]: Leaving directory `/usr/src/modules/zaptel' make: *** [kdist_build] Error 2 -- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. h...@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice) _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org