<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
<BR>
J&#225; foi postado na lista varias vezes hehehhehehe as vezes pesquisar no historico dela ajuda mto.... but.. <BR>
segue novamente....<BR>
<BR>
apt-get install libnewt-dev libssl0.9.7 libssl-dev zlib1g-dev libncurses5-dev libeditline0 libeditline-dev libedit2 libedit-dev libreadline4-dev libreadline4 kernel-headers-`uname -r` mpg123 libmysqlclient15-dev<BR>
<BR>
apos<BR>
ln -s /usr/src/kernel-headers-SUA_VERSAO /usr/src/linux<BR>
<BR>
baixar os pacotes do ftp da digium e compilar na seguinte ordem:<BR>
<BR>
libpri, zaptel (ATENCAO PARA KERNEL 2.6 -&gt; make linux26), asterisk<BR>
<BR>
at&#233;<BR>
<BR>
<BR>
<BR>
Em S&#225;b, 2006-08-12 &#224;s 20:29 -0300, Sibilio Yahoo escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Ol&#225; pessoal, setou tendo problemas ao compilar o Asterisk em um Duron </FONT>
<FONT COLOR="#000000">1.8 com placa m&#227;e PCchips (chipset VIA) com Debian sarge 3.1 kenell 2.6 </FONT>
<FONT COLOR="#000000">instalado, estou usando o gcc 3.3. O Zaptel e a libpri foram compilados </FONT>
<FONT COLOR="#000000">sem maiores problemas mas o asterisk manda a seguinte mensagem ao </FONT>
<FONT COLOR="#000000">compilar o arquivo chan_zap:</FONT>

<FONT COLOR="#000000">chan_zap.c:10060: warning: assignment from incompatible pointer type</FONT>
<FONT COLOR="#000000">chan_zap.c:10063: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10064: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10066: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10067: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10069: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c: In function `setup_zap':</FONT>
<FONT COLOR="#000000">chan_zap.c:10279: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10282: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10563: error: `PRI_NETWORK' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10567: error: `PRI_CPE' undeclared (first use in this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10595: error: `PRI_NATIONAL_ISDN' undeclared (first use in </FONT>
<FONT COLOR="#000000">this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10597: error: `PRI_UNKNOWN' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10599: error: `PRI_PRIVATE' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10601: error: `PRI_INTERNATIONAL_ISDN' undeclared (first use </FONT>
<FONT COLOR="#000000">in this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10603: error: `PRI_LOCAL_ISDN' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10627: error: `PRI_SWITCH_NI2' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10629: error: `PRI_SWITCH_NI1' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10631: error: `PRI_SWITCH_DMS100' undeclared (first use in </FONT>
<FONT COLOR="#000000">this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10633: error: `PRI_SWITCH_ATT4ESS' undeclared (first use in </FONT>
<FONT COLOR="#000000">this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10635: error: `PRI_SWITCH_LUCENT5E' undeclared (first use in </FONT>
<FONT COLOR="#000000">this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10637: error: `PRI_SWITCH_EUROISDN_E1' undeclared (first use </FONT>
<FONT COLOR="#000000">in this function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10639: error: `PRI_SWITCH_QSIG' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10648: error: `PRI_NSF_SDN' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10650: error: `PRI_NSF_MEGACOM' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10652: error: `PRI_NSF_ACCUNET' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c:10654: error: `PRI_NSF_NONE' undeclared (first use in this </FONT>
<FONT COLOR="#000000">function)</FONT>
<FONT COLOR="#000000">chan_zap.c: In function `load_module':</FONT>
<FONT COLOR="#000000">chan_zap.c:10909: warning: implicit declaration of function `pri_set_error'</FONT>
<FONT COLOR="#000000">chan_zap.c:10910: warning: implicit declaration of function </FONT>
<FONT COLOR="#000000">`pri_set_message'</FONT>
<FONT COLOR="#000000">chan_zap.c: In function `zt_sendtext':</FONT>
<FONT COLOR="#000000">chan_zap.c:10966: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10966: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10967: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10976: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10977: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:10992: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:11001: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:11015: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:11021: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">chan_zap.c:11031: error: dereferencing pointer to incomplete type</FONT>
<FONT COLOR="#000000">make[1]: ** [chan_zap.o] Erro 1</FONT>
<FONT COLOR="#000000">make[1]: Leaving directory `/usr/src/asterisk-1.2.10/channels'</FONT>
<FONT COLOR="#000000">make: ** [subdirs] Erro 1</FONT>
<FONT COLOR="#000000">   </FONT>
<FONT COLOR="#000000">    Essa &#233; somente a parte final da mensagem pois a lista de erro &#233; t&#227;o </FONT>
<FONT COLOR="#000000">grande que n&#227;o d&#225; para ver o inicio rolando a tela.  O Asterisk &#233; a </FONT>
<FONT COLOR="#000000">vers&#227;o 1.2.10, o zaptel 1.2.7 e o libpri 1.2.3.</FONT>
<FONT COLOR="#000000">    Se puderem me ajudar, muito obrigado!</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">LIsta de discuss&#245;es AsteriskBrasil.org</FONT>
<FONT COLOR="#000000"><A HREF="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A></FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Acesse o  wiki AsteriskBrasil.org:</FONT>
<FONT COLOR="#000000"><A HREF="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
<FONT COLOR="#ff0000"> .''`.</FONT>&nbsp;&nbsp; <B><FONT COLOR="#000080">Rodrigo Sertori</FONT></B>
<FONT COLOR="#ff0000">: :'&nbsp; :</FONT>&nbsp; <B><FONT SIZE="1">Analista de Sistemas</FONT></B>
<FONT COLOR="#ff0000">`. `'`</FONT>&nbsp;&nbsp; <FONT SIZE="1">+55 16 9151 1392</FONT>
&nbsp; <FONT COLOR="#ff0000">`-</FONT>
<IMG SRC="cid:1155566715.4587.3.camel@littleangel.convex.com.br" ALIGN="bottom" BORDER="0">
</PRE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>