Remco Barendse
2005-Dec-03 02:09 UTC
[Asterisk-Users] Can't compile chan_zap.c on fresh cvs 1.20 checkout
I tried compiling Asterisk 1.20 (fresh cvs checkout of just some 15 minutes ago) on a CentOS 4.2 box. Compiling zaptel seems to work fine but when I try to compile * I get this: chan_zap.c:8904: error: structure has no member named `useruserinfo' chan_zap.c:8012: warning: unused variable `plancallingani' chan_zap.c: In function `handle_pri_show_debug': chan_zap.c:9318: warning: implicit declaration of function `pri_get_debug' chan_zap.c: In function `setup_zap': chan_zap.c:10602: error: `PRI_SWITCH_QSIG' undeclared (first use in this function) chan_zap.c: In function `load_module': chan_zap.c:10870: warning: passing arg 1 of `pri_set_error' from incompatible pointer type chan_zap.c:10871: warning: passing arg 1 of `pri_set_message' from incompatible pointer type make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1 Ideas anyone?
Andrew Kohlsmith
2005-Dec-03 04:42 UTC
[Asterisk-Users] Can't compile chan_zap.c on fresh cvs 1.20 checkout
On Saturday 03 December 2005 04:09, Remco Barendse wrote:> chan_zap.c:9318: warning: implicit declaration of function `pri_get_debug' > chan_zap.c:10602: error: `PRI_SWITCH_QSIG' undeclared (first use in this > chan_zap.c:10870: warning: passing arg 1 of `pri_set_error' from > chan_zap.c:10871: warning: passing arg 1 of `pri_set_message' fromPRI is involved in every one of these messages... I'd start looking to see if you've got libpri installed, including the libpri headers. :-) -A.