[asterisk-users] Problems building zaptel 1.4.4

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Aug 1 00:58:01 CDT 2007


On Tue, Jul 31, 2007 at 10:04:42PM -0400, hugolivude wrote:
> Hi,
> 
> I'm having trouble compiling zaptel 1.4.4 on SUSE 10.1.  I'm really
> only interested in getting ztdummy to work because this is a dev
> machine with no zaptel h/w.  SUSE 10.1 is a 2.6 kernel:
> 
> asterisk-dev:/home/hugh # uname -r
> 2.6.16.13-4-default
> 
> It seems that my problem is related to autoconf.h - I cannot find that file:
> 
> asterisk-dev:/home/hugh #  find / -name 'autoconf.h'
> 
> comes up empty.
> 
> As a result "make linux26" doesn't work:
> 
> asterisk-dev:/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4 # make linux26
> grep: /lib/modules/2.6.16.13-4-default/build/include/linux/autoconf.h:
> No such file or directory
> make: *** No rule to make target `linux26'.  Stop.
> asterisk-dev:/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4 #
> 
> I've noticed that the installs come with a menuselect feature now.  I
> had to run "make menuselect" twice, but it seemed to complete OK.  I
> fooled aound a little inside menuselect delescting everything but
> ztdummy, but still no joy with autoconf.h missing:
> 
> asterisk-dev:/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4 # make
> grep: /lib/modules/2.6.16.13-4-default/build/include/linux/autoconf.h:

Right. autoconf.h is not necessarily generated. Please ignore that
warning. To be fixed in upcoming versions of Zaptel.

(This is not related in any way to GNU autoconf, that is used to
generate the ./configure script. The program autoconf itself is not
needed to build Zaptel, unless you changed configure.ac / acinclude.m4
and want the changes to apply)

However, this suggests that the "build" link actually points to a kernel
that is not configured.

> No such file or directory
> grep: /lib/modules/2.6.16.13-4-default/build/include/linux/autoconf.h:
> No such file or directory
> make[1]: Entering directory `/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4'
> gcc     gendigits.c  -lm -o gendigits
> ./gendigits > tones.h
> gcc -o makefw makefw.c
> ./makefw tormenta2.rbt tor2fw > tor2fw.h
> Loaded 69900 bytes from file
> ./makefw pciradio.rbt radfw > radfw.h
> Loaded 42096 bytes from file
> make -C /lib/modules/2.6.16.13-4-default/build
> SUBDIRS=/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4 modules
> make[2]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
> make[2]: *** No rule to make target `modules'.  Stop.

That's really bad. No functioning kernel makefile there.

Are you using the SUSE kernel-source package or something you built on
your own?

> make[2]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/packages/SOURCES/Asterisk/zaptel-1.4.4'
> make: *** [all] Error 2

Any SUSE people in the crowd? I've used it once or twice to build Zaptel
and it worked....

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



More information about the asterisk-users mailing list