I would check to see if you had the latest version of the zaptel library for the version of asterisk you are trying to compile.<br><br><div><span class="gmail_quote">On 3/16/07, <b class="gmail_sendername">Wilson Pickett</b>
<<a href="mailto:spamsucks2005@gmail.com">spamsucks2005@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Has this issue been resolved? I'm having the problem now with the code base downloaded yesterday.
<br><br><div><span class="q"><span class="gmail_quote">On 2/3/07, <b class="gmail_sendername">Erick Perez</b> <<a href="mailto:eaperezh@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eaperezh@gmail.com</a>> wrote:</span></span><div><span class="e" id="q_1115b0edc7f57750_2"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
while compiling svn 53132 of asterisk branch 1.2<br>
<br>gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes<br>-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT<br>-D_GNU_SOURCE -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS<br>-DBUSYDETECT_MARTIN -fomit-frame-pointer -fPIC -c -o app_sms.o
<br>app_sms.c<br>gcc -shared -Xlinker -x -o app_sms.so app_sms.o<br>make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2/apps'<br>make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2/codecs'<br>gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
<br>-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT<br>-D_GNU_SOURCE -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS<br>-DBUSYDETECT_MARTIN -fomit-frame-pointer -fPIC -c -o<br>codec_zap.o codec_zap.c<br>codec_zap.c: In function `zap_framein':
<br>codec_zap.c:147: error: dereferencing pointer to incomplete type<br>codec_zap.c:149: error: dereferencing pointer to incomplete type<br>codec_zap.c:151: error: dereferencing pointer to incomplete type<br>codec_zap.c:151: error: dereferencing pointer to incomplete type
<br>codec_zap.c:156: error: dereferencing pointer to incomplete type<br>codec_zap.c:156: error: dereferencing pointer to incomplete type<br>codec_zap.c:156: error: dereferencing pointer to incomplete type<br>codec_zap.c:158: error: dereferencing pointer to incomplete type
<br>codec_zap.c:158: error: dereferencing pointer to incomplete type<br>codec_zap.c:158: error: dereferencing pointer to incomplete type<br>codec_zap.c:158: error: dereferencing pointer to incomplete type<br>codec_zap.c:159: error: dereferencing pointer to incomplete type
<br>codec_zap.c:162: error: dereferencing pointer to incomplete type<br>codec_zap.c:162: error: dereferencing pointer to incomplete type<br>codec_zap.c:162: error: dereferencing pointer to incomplete type<br>codec_zap.c:163: error: dereferencing pointer to incomplete type
<br>codec_zap.c: In function `zap_frameout':<br>codec_zap.c:187: error: dereferencing pointer to incomplete type<br>codec_zap.c:196: error: dereferencing pointer to incomplete type<br>codec_zap.c:197: error: dereferencing pointer to incomplete type
<br>codec_zap.c:198: error: dereferencing pointer to incomplete type<br>codec_zap.c:198: error: dereferencing pointer to incomplete type<br>codec_zap.c:199: error: dereferencing pointer to incomplete type<br>codec_zap.c:200: error: dereferencing pointer to incomplete type
<br>codec_zap.c:203: error: dereferencing pointer to incomplete type<br>codec_zap.c:206: error: dereferencing pointer to incomplete type<br>codec_zap.c:207: error: dereferencing pointer to incomplete type<br>codec_zap.c:208: error: `ZT_TCOP_TRANSCODE' undeclared (first use in
<br>this function)<br>codec_zap.c:208: error: (Each undeclared identifier is reported only once<br>codec_zap.c:208: error: for each function it appears in.)<br>codec_zap.c:209: error: `ZT_TRANSCODE_OP' undeclared (first use in
<br>this function)<br>codec_zap.c: In function `zap_destroy':<br>codec_zap.c:223: error: `ZT_TCOP_RELEASE' undeclared (first use in<br>this function)<br>codec_zap.c:224: error: `ZT_TRANSCODE_OP' undeclared (first use in
<br>this function)<br>codec_zap.c:227: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_alawtog723':<br>codec_zap.c:244: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)
<br>codec_zap.c:266: error: dereferencing pointer to incomplete type<br>codec_zap.c:273: error: dereferencing pointer to incomplete type<br>codec_zap.c:273: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)
<br>codec_zap.c:274: error: dereferencing pointer to incomplete type<br>codec_zap.c:275: error: dereferencing pointer to incomplete type<br>codec_zap.c:281: error: dereferencing pointer to incomplete type<br>codec_zap.c:282: error: dereferencing pointer to incomplete type
<br>codec_zap.c:283: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)<br>codec_zap.c:285: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_ulawtog723':<br>codec_zap.c:301: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
<br>this function)<br>codec_zap.c:323: error: dereferencing pointer to incomplete type<br>codec_zap.c:330: error: dereferencing pointer to incomplete type<br>codec_zap.c:330: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
<br>this function)<br>codec_zap.c:331: error: dereferencing pointer to incomplete type<br>codec_zap.c:332: error: dereferencing pointer to incomplete type<br>codec_zap.c:338: error: dereferencing pointer to incomplete type
<br>codec_zap.c:339: error: dereferencing pointer to incomplete type<br>codec_zap.c:340: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)<br>codec_zap.c:342: error: dereferencing pointer to incomplete type
<br>codec_zap.c: In function `zap_new_g723toalaw':<br>codec_zap.c:358: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)<br>codec_zap.c:380: error: dereferencing pointer to incomplete type<br>codec_zap.c:387: error: dereferencing pointer to incomplete type
<br>codec_zap.c:387: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)<br>codec_zap.c:388: error: dereferencing pointer to incomplete type<br>codec_zap.c:389: error: dereferencing pointer to incomplete type
<br>codec_zap.c:395: error: dereferencing pointer to incomplete type<br>codec_zap.c:396: error: dereferencing pointer to incomplete type<br>codec_zap.c:397: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)
<br>codec_zap.c:399: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_g723toulaw':<br>codec_zap.c:415: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)<br>codec_zap.c:437: error: dereferencing pointer to incomplete type
<br>codec_zap.c:444: error: dereferencing pointer to incomplete type<br>codec_zap.c:444: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)<br>codec_zap.c:445: error: dereferencing pointer to incomplete type
<br>codec_zap.c:446: error: dereferencing pointer to incomplete type<br>codec_zap.c:452: error: dereferencing pointer to incomplete type<br>codec_zap.c:453: error: dereferencing pointer to incomplete type<br>codec_zap.c:454: error: `ZT_TRANSCODE_OP' undeclared (first use in
<br>this function)<br>codec_zap.c:456: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_alawtog729':<br>codec_zap.c:472: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)
<br>codec_zap.c:494: error: dereferencing pointer to incomplete type<br>codec_zap.c:501: error: dereferencing pointer to incomplete type<br>codec_zap.c:501: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)
<br>codec_zap.c:502: error: dereferencing pointer to incomplete type<br>codec_zap.c:503: error: dereferencing pointer to incomplete type<br>codec_zap.c:509: error: dereferencing pointer to incomplete type<br>codec_zap.c:510: error: dereferencing pointer to incomplete type
<br>codec_zap.c:511: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)<br>codec_zap.c:513: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_ulawtog729':<br>codec_zap.c:529: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
<br>this function)<br>codec_zap.c:551: error: dereferencing pointer to incomplete type<br>codec_zap.c:558: error: dereferencing pointer to incomplete type<br>codec_zap.c:558: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
<br>this function)<br>codec_zap.c:559: error: dereferencing pointer to incomplete type<br>codec_zap.c:560: error: dereferencing pointer to incomplete type<br>codec_zap.c:566: error: dereferencing pointer to incomplete type
<br>codec_zap.c:567: error: dereferencing pointer to incomplete type<br>codec_zap.c:568: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)<br>codec_zap.c:570: error: dereferencing pointer to incomplete type
<br>codec_zap.c: In function `zap_new_g729toalaw':<br>codec_zap.c:586: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)<br>codec_zap.c:608: error: dereferencing pointer to incomplete type<br>codec_zap.c:615: error: dereferencing pointer to incomplete type
<br>codec_zap.c:615: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)<br>codec_zap.c:616: error: dereferencing pointer to incomplete type<br>codec_zap.c:617: error: dereferencing pointer to incomplete type
<br>codec_zap.c:623: error: dereferencing pointer to incomplete type<br>codec_zap.c:624: error: dereferencing pointer to incomplete type<br>codec_zap.c:625: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)
<br>codec_zap.c:627: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `zap_new_g729toulaw':<br>codec_zap.c:643: error: `ZT_TCOP_ALLOCATE' undeclared (first use in<br>this function)<br>codec_zap.c:665: error: dereferencing pointer to incomplete type
<br>codec_zap.c:672: error: dereferencing pointer to incomplete type<br>codec_zap.c:672: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in<br>this function)<br>codec_zap.c:673: error: dereferencing pointer to incomplete type
<br>codec_zap.c:674: error: dereferencing pointer to incomplete type<br>codec_zap.c:680: error: dereferencing pointer to incomplete type<br>codec_zap.c:681: error: dereferencing pointer to incomplete type<br>codec_zap.c:682: error: `ZT_TRANSCODE_OP' undeclared (first use in
<br>this function)<br>codec_zap.c:684: error: dereferencing pointer to incomplete type<br>codec_zap.c: In function `find_transcoders':<br>codec_zap.c:849: error: variable `info' has initializer but incomplete type
<br>codec_zap.c:849: warning: excess elements in struct initializer<br>codec_zap.c:849: warning: (near initialization for `info')<br>codec_zap.c:849: error: storage size of 'info' isn't known<br>codec_zap.c:854: error: `ZT_TCOP_GETINFO' undeclared (first use in
<br>this function)<br>codec_zap.c:859: error: `ZT_TRANSCODE_OP' undeclared (first use in<br>this function)<br>codec_zap.c:849: warning: unused variable `info'<br>make[1]: *** [codec_zap.o] Error 1<br>make[1]: Leaving directory `/usr/src/asterisk/asterisk-
1.2/codecs'<br>make: *** [subdirs] Error 1<br><br><br>--<br>------------------------------------------------------------<br>Erick Perez<br>Panama Sistemas<br>Integradores de Telefonia IP y Soluciones Para Centros de Datos
<br>Panama, Republica de Panama<br>Cel Panama. +(507) 6694-4780<br>------------------------------------------------------------<br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></span></div></div><br>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>sean