[asterisk-ss7] chan_ss7 in asterisk Business Edition installation

ADEGOKE ARUNA goksie at gmail.com
Thu Jun 8 09:52:54 MST 2006



-----Original Message-----
Dear all,

I have installed Asterisk Business Edition and gets it working. However, I
tried to install the chan_ss7-0.8.4 and its given me the attached error.

Can someone please guide me on how to go about it?

I have done it with asterisk-1.2.9.1 and its ok.

goksie

-------------- next part --------------
[root at qvoda chan_ss7-0.8.4]# INCLUDE="-I../zaptel -I../asterisk/include" make chan_ss7.so
gcc -c -I../zaptel -I../asterisk/include -I../source/telephony/zaptel -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -o chan_ss7.o chan_ss7.c
chan_ss7.c:57:20: zaptel.h: No such file or directory
chan_ss7.c:146: error: `AST_MAX_CONTEXT' undeclared here (not in a function)
chan_ss7.c: In function `ss7_new':
chan_ss7.c:631: error: `ZT_FLUSH_ALL' undeclared (first use in this function)
chan_ss7.c:631: error: (Each undeclared identifier is reported only once
chan_ss7.c:631: error: for each function it appears in.)
chan_ss7.c:632: error: `ZT_FLUSH' undeclared (first use in this function)
chan_ss7.c: In function `ss7_send_digit':
chan_ss7.c:725: error: `ZT_DIAL_OPERATION' undeclared (first use in this function)
chan_ss7.c:725: error: syntax error before "zo"
chan_ss7.c:730: error: `zo' undeclared (first use in this function)
chan_ss7.c:730: error: `ZT_DIAL_OP_APPEND' undeclared (first use in this function)
chan_ss7.c:734: error: `ZT_DIAL' undeclared (first use in this function)
chan_ss7.c: In function `handle_complete_address':
chan_ss7.c:1328: warning: implicit declaration of function `ast_copy_string'
chan_ss7.c: In function `ss7_handle_event':
chan_ss7.c:1868: error: `ZT_EVENT_DIALCOMPLETE' undeclared (first use in this function)
chan_ss7.c:1871: error: `ZT_DIALING' undeclared (first use in this function)
chan_ss7.c: In function `get_zaptel_event':
chan_ss7.c:1896: error: `ZT_GETEVENT' undeclared (first use in this function)
chan_ss7.c: In function `ss7_read':
chan_ss7.c:1942: error: `ELAST' undeclared (first use in this function)
chan_ss7.c: In function `ss7_exception':
chan_ss7.c:2049: error: `ZT_GETEVENT' undeclared (first use in this function)
chan_ss7.c: In function `zt_enable_ec':
chan_ss7.c:2409: error: `ZT_AUDIOMODE' undeclared (first use in this function)
chan_ss7.c:2414: error: `ZT_ECHOCANCEL' undeclared (first use in this function)
chan_ss7.c:2422: error: `ZT_ECHOTRAIN' undeclared (first use in this function)
chan_ss7.c: In function `zt_disable_ec':
chan_ss7.c:2439: error: `ZT_ECHOCANCEL' undeclared (first use in this function)
chan_ss7.c: In function `continuity_check_thread_main':
chan_ss7.c:3691: error: `ELAST' undeclared (first use in this function)
chan_ss7.c: In function `setup_cic':
chan_ss7.c:4500: error: `ZT_BUFFERINFO' undeclared (first use in this function)
chan_ss7.c:4500: error: syntax error before "bi"
chan_ss7.c:4526: error: `ZT_SPECIFY' undeclared (first use in this function)
chan_ss7.c:4531: error: `ZT_LAW_ALAW' undeclared (first use in this function)
chan_ss7.c:4532: error: `ZT_SETLAW' undeclared (first use in this function)
chan_ss7.c:4537: error: `bi' undeclared (first use in this function)
chan_ss7.c:4537: error: `ZT_POLICY_IMMEDIATE' undeclared (first use in this function)
chan_ss7.c:4541: error: `ZT_SET_BUFINFO' undeclared (first use in this function)
chan_ss7.c:4547: error: `ZT_SET_BLOCKSIZE' undeclared (first use in this function)
chan_ss7.c: In function `load_module':
chan_ss7.c:4769: warning: implicit declaration of function `ast_cli_register_multiple'
chan_ss7.c: In function `unload_module':
chan_ss7.c:4780: warning: implicit declaration of function `ast_cli_unregister_multiple'
make: *** [chan_ss7.o] Error 1










[root at qvoda chan_ss7-0.8.4]# make
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -o chan_ss7.o chan_ss7.c
chan_ss7.c:57:20: zaptel.h: No such file or directory
chan_ss7.c:146: error: `AST_MAX_CONTEXT' undeclared here (not in a function)
chan_ss7.c: In function `ss7_new':
chan_ss7.c:631: error: `ZT_FLUSH_ALL' undeclared (first use in this function)
chan_ss7.c:631: error: (Each undeclared identifier is reported only once
chan_ss7.c:631: error: for each function it appears in.)
chan_ss7.c:632: error: `ZT_FLUSH' undeclared (first use in this function)
chan_ss7.c: In function `ss7_send_digit':
chan_ss7.c:725: error: `ZT_DIAL_OPERATION' undeclared (first use in this function)
chan_ss7.c:725: error: syntax error before "zo"
chan_ss7.c:730: error: `zo' undeclared (first use in this function)
chan_ss7.c:730: error: `ZT_DIAL_OP_APPEND' undeclared (first use in this function)
chan_ss7.c:734: error: `ZT_DIAL' undeclared (first use in this function)
chan_ss7.c: In function `handle_complete_address':
chan_ss7.c:1328: warning: implicit declaration of function `ast_copy_string'
chan_ss7.c: In function `ss7_handle_event':
chan_ss7.c:1868: error: `ZT_EVENT_DIALCOMPLETE' undeclared (first use in this function)
chan_ss7.c:1871: error: `ZT_DIALING' undeclared (first use in this function)
chan_ss7.c: In function `get_zaptel_event':
chan_ss7.c:1896: error: `ZT_GETEVENT' undeclared (first use in this function)
chan_ss7.c: In function `ss7_read':
chan_ss7.c:1942: error: `ELAST' undeclared (first use in this function)
chan_ss7.c: In function `ss7_exception':
chan_ss7.c:2049: error: `ZT_GETEVENT' undeclared (first use in this function)
chan_ss7.c: In function `zt_enable_ec':
chan_ss7.c:2409: error: `ZT_AUDIOMODE' undeclared (first use in this function)
chan_ss7.c:2414: error: `ZT_ECHOCANCEL' undeclared (first use in this function)
chan_ss7.c:2422: error: `ZT_ECHOTRAIN' undeclared (first use in this function)
chan_ss7.c: In function `zt_disable_ec':
chan_ss7.c:2439: error: `ZT_ECHOCANCEL' undeclared (first use in this function)
chan_ss7.c: In function `continuity_check_thread_main':
chan_ss7.c:3691: error: `ELAST' undeclared (first use in this function)
chan_ss7.c: In function `setup_cic':
chan_ss7.c:4500: error: `ZT_BUFFERINFO' undeclared (first use in this function)
chan_ss7.c:4500: error: syntax error before "bi"
chan_ss7.c:4526: error: `ZT_SPECIFY' undeclared (first use in this function)
chan_ss7.c:4531: error: `ZT_LAW_ALAW' undeclared (first use in this function)
chan_ss7.c:4532: error: `ZT_SETLAW' undeclared (first use in this function)
chan_ss7.c:4537: error: `bi' undeclared (first use in this function)
chan_ss7.c:4537: error: `ZT_POLICY_IMMEDIATE' undeclared (first use in this function)
chan_ss7.c:4541: error: `ZT_SET_BUFINFO' undeclared (first use in this function)
chan_ss7.c:4547: error: `ZT_SET_BLOCKSIZE' undeclared (first use in this function)
chan_ss7.c: In function `load_module':
chan_ss7.c:4769: warning: implicit declaration of function `ast_cli_register_multiple'
chan_ss7.c: In function `unload_module':
chan_ss7.c:4780: warning: implicit declaration of function `ast_cli_unregister_multiple'
make: *** [chan_ss7.o] Error 1



More information about the asterisk-ss7 mailing list