[AsteriskBrasil] Problema ao compilar o Asterisk no Debian

Rodrigo Sertori rsertori em gmail.com
Segunda Agosto 14 11:45:47 BRT 2006


Já foi postado na lista varias vezes hehehhehehe as vezes pesquisar no
historico dela ajuda mto.... but.. 
segue novamente....

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

apos
ln -s /usr/src/kernel-headers-SUA_VERSAO /usr/src/linux

baixar os pacotes do ftp da digium e compilar na seguinte ordem:

libpri, zaptel (ATENCAO PARA KERNEL 2.6 -> make linux26), asterisk

até



Em Sáb, 2006-08-12 às 20:29 -0300, Sibilio Yahoo escreveu:

> Olá pessoal, setou tendo problemas ao compilar o Asterisk em um Duron 
> 1.8 com placa mãe PCchips (chipset VIA) com Debian sarge 3.1 kenell 2.6 
> instalado, estou usando o gcc 3.3. O Zaptel e a libpri foram compilados 
> sem maiores problemas mas o asterisk manda a seguinte mensagem ao 
> compilar o arquivo chan_zap:
> 
> chan_zap.c:10060: warning: assignment from incompatible pointer type
> chan_zap.c:10063: error: dereferencing pointer to incomplete type
> chan_zap.c:10064: error: dereferencing pointer to incomplete type
> chan_zap.c:10066: error: dereferencing pointer to incomplete type
> chan_zap.c:10067: error: dereferencing pointer to incomplete type
> chan_zap.c:10069: error: dereferencing pointer to incomplete type
> chan_zap.c: In function `setup_zap':
> chan_zap.c:10279: error: dereferencing pointer to incomplete type
> chan_zap.c:10282: error: dereferencing pointer to incomplete type
> chan_zap.c:10563: error: `PRI_NETWORK' undeclared (first use in this 
> function)
> chan_zap.c:10567: error: `PRI_CPE' undeclared (first use in this function)
> chan_zap.c:10595: error: `PRI_NATIONAL_ISDN' undeclared (first use in 
> this function)
> chan_zap.c:10597: error: `PRI_UNKNOWN' undeclared (first use in this 
> function)
> chan_zap.c:10599: error: `PRI_PRIVATE' undeclared (first use in this 
> function)
> chan_zap.c:10601: error: `PRI_INTERNATIONAL_ISDN' undeclared (first use 
> in this function)
> chan_zap.c:10603: error: `PRI_LOCAL_ISDN' undeclared (first use in this 
> function)
> chan_zap.c:10627: error: `PRI_SWITCH_NI2' undeclared (first use in this 
> function)
> chan_zap.c:10629: error: `PRI_SWITCH_NI1' undeclared (first use in this 
> function)
> chan_zap.c:10631: error: `PRI_SWITCH_DMS100' undeclared (first use in 
> this function)
> chan_zap.c:10633: error: `PRI_SWITCH_ATT4ESS' undeclared (first use in 
> this function)
> chan_zap.c:10635: error: `PRI_SWITCH_LUCENT5E' undeclared (first use in 
> this function)
> chan_zap.c:10637: error: `PRI_SWITCH_EUROISDN_E1' undeclared (first use 
> in this function)
> chan_zap.c:10639: error: `PRI_SWITCH_QSIG' undeclared (first use in this 
> function)
> chan_zap.c:10648: error: `PRI_NSF_SDN' undeclared (first use in this 
> function)
> chan_zap.c:10650: error: `PRI_NSF_MEGACOM' undeclared (first use in this 
> function)
> chan_zap.c:10652: error: `PRI_NSF_ACCUNET' undeclared (first use in this 
> function)
> chan_zap.c:10654: error: `PRI_NSF_NONE' undeclared (first use in this 
> function)
> chan_zap.c: In function `load_module':
> chan_zap.c:10909: warning: implicit declaration of function `pri_set_error'
> chan_zap.c:10910: warning: implicit declaration of function 
> `pri_set_message'
> chan_zap.c: In function `zt_sendtext':
> chan_zap.c:10966: error: dereferencing pointer to incomplete type
> chan_zap.c:10966: error: dereferencing pointer to incomplete type
> chan_zap.c:10967: error: dereferencing pointer to incomplete type
> chan_zap.c:10976: error: dereferencing pointer to incomplete type
> chan_zap.c:10977: error: dereferencing pointer to incomplete type
> chan_zap.c:10992: error: dereferencing pointer to incomplete type
> chan_zap.c:11001: error: dereferencing pointer to incomplete type
> chan_zap.c:11015: error: dereferencing pointer to incomplete type
> chan_zap.c:11021: error: dereferencing pointer to incomplete type
> chan_zap.c:11031: error: dereferencing pointer to incomplete type
> make[1]: ** [chan_zap.o] Erro 1
> make[1]: Leaving directory `/usr/src/asterisk-1.2.10/channels'
> make: ** [subdirs] Erro 1
>    
>     Essa é somente a parte final da mensagem pois a lista de erro é tão 
> grande que não dá para ver o inicio rolando a tela.  O Asterisk é a 
> versão 1.2.10, o zaptel 1.2.7 e o libpri 1.2.3.
>     Se puderem me ajudar, muito obrigado!
> _______________________________________________
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> 
> _______________________________________________
> Acesse o  wiki AsteriskBrasil.org:
> http://www.asteriskbrasil.org


 .''`.   Rodrigo Sertori
: :'  :  Analista de Sistemas
`. `'`   +55 16 9151 1392
  `-

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060814/1fd32398/attachment.html
-------------- Próxima Parte ----------
Um anexo não texto foi limpo...
Nome  : linux_user.png
Tipo  : image/png
Tam   : 3635 bytes
Descr.: não disponível
Url   : http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060814/1fd32398/linux_user.png


Mais detalhes sobre a lista de discussão AsteriskBrasil