[root@pbx zaptel]# make clean
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttool zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
make -C /lib/modules/2.6.9-34.0.2.ELsmp/build SUBDIRS=/tmp/zaptel/zaptel clean
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
CLEAN /tmp/zaptel/zaptel/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone.so
rm -f libtonezone.a
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
[root@pbx zaptel]# make
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 > tones.h
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
ZAPTELVERSION="" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi
rm -f version.h.tmp
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 -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -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.9-34.0.2.ELsmp/build
make -C /lib/modules/2.6.9-34.0.2.ELsmp/build SUBDIRS=/tmp/zaptel/zaptel modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
CC [M] /tmp/zaptel/zaptel/zaptel.o
/tmp/zaptel/zaptel/zaptel.c:384: error: syntax error before "zone_lock"
/tmp/zaptel/zaptel/zaptel.c:384: warning: type defaults to `int' in declaration of `zone_lock'
/tmp/zaptel/zaptel/zaptel.c:384: error: incompatible types in initialization
/tmp/zaptel/zaptel/zaptel.c:384: error: initializer element is not constant
/tmp/zaptel/zaptel/zaptel.c:384: warning: data definition has no type or storage class
/tmp/zaptel/zaptel/zaptel.c:385: error: syntax error before "chan_lock"
/tmp/zaptel/zaptel/zaptel.c:385: warning: type defaults to `int' in declaration of `chan_lock'
/tmp/zaptel/zaptel/zaptel.c:385: error: incompatible types in initialization
/tmp/zaptel/zaptel/zaptel.c:385: error: initializer element is not constant
/tmp/zaptel/zaptel/zaptel.c:385: warning: data definition has no type or storage class
/tmp/zaptel/zaptel/zaptel.c: In function `free_tone_zone':
/tmp/zaptel/zaptel/zaptel.c:1034: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:1037: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `zt_register_tone_zone':
/tmp/zaptel/zaptel/zaptel.c:1047: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:1054: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `set_tone_zone':
/tmp/zaptel/zaptel/zaptel.c:1095: warning: passing arg 1 of `_read_lock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:1107: warning: passing arg 1 of `_read_unlock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `zt_chan_reg':
/tmp/zaptel/zaptel/zaptel.c:1188: warning: passing arg 1 of `_write_lock_irqsave' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:1211: warning: passing arg 1 of `_write_unlock_irqrestore' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `zt_chan_unreg':
/tmp/zaptel/zaptel/zaptel.c:1584: warning: passing arg 1 of `_write_lock_irqsave' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:1620: warning: passing arg 1 of `_write_unlock_irqrestore' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `zt_ctl_ioctl':
/tmp/zaptel/zaptel/zaptel.c:3343: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c:3345: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/tmp/zaptel/zaptel/zaptel.c: In function `zt_init':
/tmp/zaptel/zaptel/zaptel.c:6553: error: incompatible types in assignment
/tmp/zaptel/zaptel/zaptel.c: At top level:
/tmp/zaptel/zaptel/zaptel.c:188: warning: 'fcstab' defined but not used
make[2]: *** [/tmp/zaptel/zaptel/zaptel.o] Error 1
make[1]: *** [_module_/tmp/zaptel/zaptel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
make: *** [linux26] Error 2
[root@pbx zaptel]#