All pastes #187735 Raw Edit

hendrikdw

public text v1 · immutable
·published 2006-10-01 12:24 UTC
rendered paste body
[root@mycomaxps ~]# tail /var/log/asterisk/full
Oct  1 13:02:37 VERBOSE[3949] logger.c:  [chan_zap.so]Oct  1 13:02:37 VERBOSE[3949] logger.c:  [chan_zap.so] => (Zapata Telephony w/PRI)
Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata.conf': Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata.conf': Found
Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata-auto.conf': Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata-auto.conf': Found
Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata_additional.conf': Oct  1 13:02:37 VERBOSE[3949] logger.c:   == Parsing '/etc/asterisk/zapata_additional.conf': Found
Oct  1 13:02:37 WARNING[3949] chan_zap.c: Unable to specify channel 1: Inappropriate ioctl for device
Oct  1 13:02:37 ERROR[3949] chan_zap.c: Unable to open channel 1: Inappropriate ioctl for device
here = 0, tmp->channel = 1, channel = 1
Oct  1 13:02:37 ERROR[3949] chan_zap.c: Unable to register channel '1-15'
Oct  1 13:02:37 WARNING[3949] loader.c: chan_zap.so: load_module failed, returning -1
Oct  1 13:02:37 WARNING[3949] loader.c: Loading module chan_zap.so failed!




---------------------------------





[root@mycomaxps src]# cd ../zaptel-1.2.9.1 && make install
-bash: cd: ../zaptel-1.2.9.1: No such file or directory
[root@mycomaxps src]# cd zaptel-1.2.9.1 && make install
ZAPTELVERSION="1.2.9.1" 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
/lib/modules/2.6.9-34.0.2.EL/build
make -C /lib/modules/2.6.9-34.0.2.EL/build SUBDIRS=/usr/src/zaptel-1.2.9.1 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686'
  CC [M]  /usr/src/zaptel-1.2.9.1/zaptel.o
/usr/src/zaptel-1.2.9.1/zaptel.c:384: error: syntax error before "zone_lock"
/usr/src/zaptel-1.2.9.1/zaptel.c:384: warning: type defaults to `int' in declaration of `zone_lock'
/usr/src/zaptel-1.2.9.1/zaptel.c:384: error: incompatible types in initialization
/usr/src/zaptel-1.2.9.1/zaptel.c:384: error: initializer element is not constant
/usr/src/zaptel-1.2.9.1/zaptel.c:384: warning: data definition has no type or storage class
/usr/src/zaptel-1.2.9.1/zaptel.c:385: error: syntax error before "chan_lock"
/usr/src/zaptel-1.2.9.1/zaptel.c:385: warning: type defaults to `int' in declaration of `chan_lock'
/usr/src/zaptel-1.2.9.1/zaptel.c:385: error: incompatible types in initialization
/usr/src/zaptel-1.2.9.1/zaptel.c:385: error: initializer element is not constant
/usr/src/zaptel-1.2.9.1/zaptel.c:385: warning: data definition has no type or storage class
/usr/src/zaptel-1.2.9.1/zaptel.c:188: warning: 'fcstab' defined but not used
make[2]: *** [/usr/src/zaptel-1.2.9.1/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.2.9.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686'
make: *** [linux26] Error 2