[asterisk-users] Problems building zaptel 1.4.4

hugolivude hugolivude at gmail.com
Tue Jul 31 21:04:42 CDT 2007


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:
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.
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 ideas that could help me out?

Thanks,
Hugh



More information about the asterisk-users mailing list