On 8/14/06, <b class="gmail_sendername">Paulo Garcia</b> <<a href="mailto:ast.paulo@gmail.com">ast.paulo@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Olá,<br><br>a não ser que alguem já saiba a solução, você poderia tentar enviar os erros do make para um arquivo temporário (make 2> erro.log) pois o ideal é saber o primeiro erro que deu, pois as vezes os erros subsequentes são consequencias do primeiro....
<br></div><div><span class="sg"><br><br>Paulo Garcia<br>Digivoice</span></div><div><span class="e" id="q_10d0c8eb67ae1786_2"><br><br><br><div><span class="gmail_quote">On 8/12/06, <b class="gmail_sendername">Sibilio Yahoo
</b> <<a href="mailto:sibiliojr@yahoo.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sibiliojr@yahoo.com.br</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;">Olá pessoal, setou tendo problemas ao compilar o Asterisk em um Duron<br>1.8 com placa mãe PCchips (chipset VIA) com Debian sarge
3.1 kenell 2.6<br>instalado, estou usando o gcc 3.3. O Zaptel e a libpri foram compilados<br>sem maiores problemas mas o asterisk manda a seguinte mensagem ao<br>compilar o arquivo chan_zap:<br><br>chan_zap.c:10060: warning: assignment from incompatible pointer type
<br>chan_zap.c:10063: error: dereferencing pointer to incomplete type<br>chan_zap.c:10064: error: dereferencing pointer to incomplete type<br>chan_zap.c:10066: error: dereferencing pointer to incomplete type<br>chan_zap.c:10067: error: dereferencing pointer to incomplete type
<br>chan_zap.c:10069: error: dereferencing pointer to incomplete type<br>chan_zap.c: In function `setup_zap':<br>chan_zap.c:10279: error: dereferencing pointer to incomplete type<br>chan_zap.c:10282: error: dereferencing pointer to incomplete type
<br>chan_zap.c:10563: error: `PRI_NETWORK' undeclared (first use in this<br>function)<br>chan_zap.c:10567: error: `PRI_CPE' undeclared (first use in this function)<br>chan_zap.c:10595: error: `PRI_NATIONAL_ISDN' undeclared (first use in
<br>this function)<br>chan_zap.c:10597: error: `PRI_UNKNOWN' undeclared (first use in this<br>function)<br>chan_zap.c:10599: error: `PRI_PRIVATE' undeclared (first use in this<br>function)<br>chan_zap.c:10601: error: `PRI_INTERNATIONAL_ISDN' undeclared (first use
<br>in this function)<br>chan_zap.c:10603: error: `PRI_LOCAL_ISDN' undeclared (first use in this<br>function)<br>chan_zap.c:10627: error: `PRI_SWITCH_NI2' undeclared (first use in this<br>function)<br>chan_zap.c:10629: error: `PRI_SWITCH_NI1' undeclared (first use in this
<br>function)<br>chan_zap.c:10631: error: `PRI_SWITCH_DMS100' undeclared (first use in<br>this function)<br>chan_zap.c:10633: error: `PRI_SWITCH_ATT4ESS' undeclared (first use in<br>this function)<br>chan_zap.c:10635: error: `PRI_SWITCH_LUCENT5E' undeclared (first use in
<br>this function)<br>chan_zap.c:10637: error: `PRI_SWITCH_EUROISDN_E1' undeclared (first use<br>in this function)<br>chan_zap.c:10639: error: `PRI_SWITCH_QSIG' undeclared (first use in this<br>function)<br>chan_zap.c:10648: error: `PRI_NSF_SDN' undeclared (first use in this
<br>function)<br>chan_zap.c:10650: error: `PRI_NSF_MEGACOM' undeclared (first use in this<br>function)<br>chan_zap.c:10652: error: `PRI_NSF_ACCUNET' undeclared (first use in this<br>function)<br>chan_zap.c:10654: error: `PRI_NSF_NONE' undeclared (first use in this
<br>function)<br>chan_zap.c: In function `load_module':<br>chan_zap.c:10909: warning: implicit declaration of function `pri_set_error'<br>chan_zap.c:10910: warning: implicit declaration of function<br>`pri_set_message'<br>
chan_zap.c: In function `zt_sendtext':<br>chan_zap.c:10966: error: dereferencing pointer to incomplete type<br>chan_zap.c:10966: error: dereferencing pointer to incomplete type<br>chan_zap.c:10967: error: dereferencing pointer to incomplete type
<br>chan_zap.c:10976: error: dereferencing pointer to incomplete type<br>chan_zap.c:10977: error: dereferencing pointer to incomplete type<br>chan_zap.c:10992: error: dereferencing pointer to incomplete type<br>chan_zap.c:11001: error: dereferencing pointer to incomplete type
<br>chan_zap.c:11015: error: dereferencing pointer to incomplete type<br>chan_zap.c:11021: error: dereferencing pointer to incomplete type<br>chan_zap.c:11031: error: dereferencing pointer to incomplete type<br>make[1]: ** [chan_zap.o] Erro 1
<br>make[1]: Leaving directory `/usr/src/asterisk-1.2.10/channels'<br>make: ** [subdirs] Erro 1<br><br> Essa é somente a parte final da mensagem pois a lista de erro é tão<br>grande que não dá para ver o inicio rolando a tela. O Asterisk é a
<br>versão 1.2.10, o zaptel 1.2.7 e o libpri 1.2.3.<br> Se puderem me ajudar, muito obrigado!<br></blockquote></div></span></div></blockquote></div><br><br>Oi,<br><br>Tive um problema parecido com esse, se me lembro bem o erro aparecia no início mesmo.
<br>Se não me engano era versão da libpri errada que eu tinha compilado.<br><br clear="all"><br>-- <br>Ralph Liebessohn<br>ICQ: 74835911<br>Skype: liebessohn