[AsteriskBrasil] Problema ao compilar o Asterisk no Debian

Sibilio Yahoo sibiliojr em yahoo.com.br
Sábado Agosto 12 20:29:34 BRT 2006


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!


Mais detalhes sobre a lista de discussão AsteriskBrasil