Results 1 to 4 of 4

Thread: Compile problems

  1. #1
    Join Date
    Dec 2012

    Exclamation Compile problems


    I am trying to install Asterisk and Zaptel using this guide ( with updated packages from asterisk. I am having a compile error with zaptel that I'm not sure how to fix (asterisk and zaptel are not in the repositories). I am using Using Server 12.04 with desktop package installed.

    My compile output is (for configure and make):
    root@PbxBox:/usr/src/zaptel- ./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... yes
    checking newt.h usability... yes
    checking newt.h presence... yes
    checking for newt.h... yes
    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 ***
    root@PbxBox:/usr/src/zaptel- make
    make[1]: Entering directory `/usr/src/zaptel-'
    make[2]: Entering directory `/usr/src/zaptel-'
    make[2]: `menuselect' is up to date.
    make[2]: Leaving directory `/usr/src/zaptel-'
    make[1]: Leaving directory `/usr/src/zaptel-'
    make[1]: Entering directory `/usr/src/zaptel-'
    make[2]: Entering directory `/usr/src/zaptel-'
    make[3]: Entering directory `/usr/src/zaptel-'
    make[3]: `menuselect' is up to date.
    make[3]: Leaving directory `/usr/src/zaptel-'
    make[2]: Leaving directory `/usr/src/zaptel-'
    make -C /lib/modules/3.2.0-34-generic-pae/build ARCH=i386 SUBDIRS=/usr/src/zaptel- 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 `/usr/src/linux-headers-3.2.0-34-generic-pae'
      CC [M]  /usr/src/zaptel-
    In file included from /usr/src/zaptel-,
                     from /usr/src/zaptel-
    /usr/src/zaptel- fatal error: linux/autoconf.h: No such file or directory
    compilation terminated.
    make[3]: *** [/usr/src/zaptel-] Error 1
    make[2]: *** [_module_/usr/src/zaptel-] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/zaptel-'
    make: *** [all] Error 2
    I'm not sure what I need to do, would someone guide me in the right direction please?

  2. #2
    Join Date
    Apr 2011
    Kubuntu 12.04 Precise Pangolin

    Re: Compile problems

    Looks like the system might be missing autoconf. Try installing that and automake while you're at it, and then compiling again:

    sudo apt-get install automake autoconf

  3. #3
    Join Date
    Dec 2012

    Re: Compile problems

    I have the current automake and autoconf installed

    autoconf is already the newest version.
    automake is already the newest version.

  4. #4
    Join Date
    Nov 2008
    S.H.I.E.L.D. 6-1-6
    Ubuntu Development Release

    Re: Compile problems

    zaptel is obsolete, see dahdi
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts