[Asterisk-Users] ztdummy compile again

Mark Benson mark.benson at iqit.co.uk
Fri Sep 23 05:55:09 MST 2005


Hi,

I'm still strugling with getting an easy to use conference system 
implemented. I did have app_conference running, but today I upgraded 
asterisk to 1.0.9 and it stopped working. I've tried following the 
instructions for compiling app_conference on 1.0.7 but it didn't work.

So I went back to ztdummy (I've not had any luck getting this to compile 
on FC2).

Anyhoo, I've tried again and once again ztdummy fails to compile and the 
various disparate instructions on what is needed to get it running are 
not helping.

If I run make linux26 then the zaptel drivers start to compile but then 
spews out a load of errors.

Anyone have any ideas?

============SNIP===========

cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    makefw.c   -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo 
zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo 
tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    zttest.c   -o zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA 
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.6.5-1.358/build
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.5-1.358'
Makefile:434: .config: No such file or directory
  CC [M]  /usr/src/zaptel/zaptel.o
In file included from /usr/src/zaptel/zconfig.h:9,
                 from /usr/src/zaptel/zaptel.c:40:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/src/zaptel/zaptel.c:40:
/usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or directory
/usr/src/zaptel/zconfig.h:68:41: missing binary operator before token "("
In file included from include/linux/kernel.h:11,
                 from /usr/src/zaptel/zaptel.c:42:
include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
In file included from include/linux/types.h:13,
                 from include/linux/kernel.h:13,
                 from /usr/src/zaptel/zaptel.c:42:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or 
directory
In file included from include/linux/kernel.h:13,
                 from /usr/src/zaptel/zaptel.c:42:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/kernel.h:13,
                 from /usr/src/zaptel/zaptel.c:42:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration 
of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or 
storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration 
of `dev_t'
include/linux/types.h:21: warning: data definition has no type or 
storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration 
of `ino_t'
include/linux/types.h:22: warning: data definition has no type or 
storage class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration 
of `mode_t'
include/linux/types.h:23: warning: data definition has no type or 
storage class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration 
of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or 
storage class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration 
of `off_t'
include/linux/types.h:25: warning: data definition has no type or 
storage class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration 
of `pid_t'
include/linux/types.h:26: warning: data definition has no type or 
storage class

=================




More information about the asterisk-users mailing list