PBX:/usr/src/zaptel# make clean; make install
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
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
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DSTANDALONE_ZAPATA -c zaptel.c
In file included from zaptel.c:40:
zconfig.h:9:26: linux/config.h: No such file or directory
zconfig.h:10:27: linux/version.h: No such file or directory
zconfig.h:66:41: missing binary operator before token "("
zaptel.c:42:26: linux/kernel.h: No such file or directory
zaptel.c:43:25: linux/errno.h: No such file or directory
zaptel.c:44:26: linux/module.h: No such file or directory
zaptel.c:45:27: linux/proc_fs.h: No such file or directory
zaptel.c:46:23: linux/pci.h: No such file or directory
zaptel.c:47:24: linux/init.h: No such file or directory
zaptel.c:48:27: linux/version.h: No such file or directory
zaptel.c:49:24: linux/kmod.h: No such file or directory
zaptel.c:56:28: linux/ppp_defs.h: No such file or directory
In file included from zaptel.c:82:
zaptel.h:35:26: linux/config.h: No such file or directory
zaptel.h:36:27: linux/version.h: No such file or directory
zaptel.h:45:22: linux/fs.h: No such file or directory
zaptel.h:47:41: missing binary operator before token "("
In file included from ecdis.h:30,
from zaptel.h:51,
from zaptel.c:82:
biquad.h:31: error: parse error before "int32_t"
biquad.h:31: warning: no semicolon at end of struct or union
biquad.h:32: warning: type defaults to `int' in declaration of `a1'
biquad.h:32: warning: data definition has no type or storage class
biquad.h:33: error: parse error before "a2"
biquad.h:33: warning: type defaults to `int' in declaration of `a2'
biquad.h:33: warning: data definition has no type or storage class
biquad.h:34: error: parse error before "b1"
biquad.h:34: warning: type defaults to `int' in declaration of `b1'
biquad.h:34: warning: data definition has no type or storage class
biquad.h:35: error: parse error before "b2"
biquad.h:35: warning: type defaults to `int' in declaration of `b2'
biquad.h:35: warning: data definition has no type or storage class
biquad.h:37: error: parse error before "z1"
biquad.h:37: warning: type defaults to `int' in declaration of `z1'
biquad.h:37: warning: data definition has no type or storage class
biquad.h:38: error: parse error before "z2"
biquad.h:38: warning: type defaults to `int' in declaration of `z2'
biquad.h:38: warning: data definition has no type or storage class
biquad.h:39: warning: type defaults to `int' in declaration of `biquad2_state_t'
biquad.h:39: warning: data definition has no type or storage class
biquad.h:41: error: parse error before '*' token
biquad.h:47: warning: function declaration isn't a prototype
biquad.h: In function `biquad2_init':
biquad.h:48: error: `bq' undeclared (first use in this function)
biquad.h:48: error: (Each undeclared identifier is reported only once
biquad.h:48: error: for each function it appears in.)
biquad.h:48: error: `gain' undeclared (first use in this function)
biquad.h: At top level:
biquad.h:59: error: parse error before "biquad2"
biquad.h:59: error: parse error before '*' token
biquad.h:60: warning: return type defaults to `int'
biquad.h:60: warning: function declaration isn't a prototype
biquad.h: In function `biquad2':
biquad.h:61: error: `int32_t' undeclared (first use in this function)
biquad.h:61: error: parse error before "y"
biquad.h:64: error: `z0' undeclared (first use in this function)
biquad.h:64: error: `sample' undeclared (first use in this function)
biquad.h:64: error: `bq' undeclared (first use in this function)
biquad.h:65: error: `y' undeclared (first use in this function)
In file included from zaptel.h:51,
from zaptel.c:82:
ecdis.h: At top level:
ecdis.h:34: error: parse error before "biquad2_state_t"
ecdis.h:34: warning: no semicolon at end of struct or union
ecdis.h:41: error: parse error before '}' token
ecdis.h:41: warning: type defaults to `int' in declaration of `echo_can_disable_detector_state_t'
ecdis.h:41: warning: data definition has no type or storage class
ecdis.h:47: error: parse error before '*' token
ecdis.h:48: warning: function declaration isn't a prototype
ecdis.h: In function `echo_can_disable_detector_init':
ecdis.h:52: error: `det' undeclared (first use in this function)
ecdis.h:53: error: `int32_t' undeclared (first use in this function)