gcc -shared -Xlinker -x -o app_sms.so app_sms.o
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-1.2.16/apps'
make[1]: Entering directory `/usr/local/src/asterisk/asterisk-1.2.16/codecs'
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -I/usr/include/speex -c -o codec_zap.o codec_zap.c
codec_zap.c: In function zap_destroy:
codec_zap.c:223: error: ZT_TCOP_RELEASE undeclared (first use in this function)
codec_zap.c:223: error: (Each undeclared identifier is reported only once
codec_zap.c:223: error: for each function it appears in.)
codec_zap.c: In function zap_new_alawtog723:
codec_zap.c:244: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_ulawtog723:
codec_zap.c:301: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_g723toalaw:
codec_zap.c:358: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_g723toulaw:
codec_zap.c:415: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_alawtog729:
codec_zap.c:472: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_ulawtog729:
codec_zap.c:529: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_g729toalaw:
codec_zap.c:586: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function zap_new_g729toulaw:
codec_zap.c:643: error: ZT_TCOP_ALLOCATE undeclared (first use in this function)
codec_zap.c: In function find_transcoders:
codec_zap.c:870: error: struct zt_transcode_info has no member named numchannels
make[1]: *** [codec_zap.o] Error 1
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-1.2.16/codecs'
make: *** [subdirs] Error 1
=>