<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2>Obrigado Josué e Rdo... </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2>eu já havia visto esse tuto, mas não tentado... Touché!
Funciona quase tudo perfeitamente (quase tudo porque até o final dessa resposta,
eu estava apanhando com os codecs) ...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2>Obrigado mesmo. Faltava tentar esse, mas agora
foi.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156031222-23022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>De:</B>
asteriskbrasil-bounces@listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <B>Em nome de
</B>Rdo<BR><B>Enviada em:</B> quinta-feira, 22 de fevereiro de 2007
17:57<BR><B>Para:</B>
asteriskbrasil@listas.asteriskbrasil.org<BR><B>Assunto:</B> Re: [AsteriskBrasil]
Zaptel x Debian - Problemas na compilação<BR></FONT><BR></DIV>
<DIV></DIV><A
href="http://clx.digi.com.br/wiki/bin/view/Asterisk/TutorialAsteriskUnicallFax">http://clx.digi.com.br/wiki/bin/view/Asterisk/TutorialAsteriskUnicallFax</A><BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 2/22/07, <B class=gmail_sendername>Josué
Conti</B> <<A href="mailto:josueconti@gmail.com">josueconti@gmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Olá,
veja se as bibliotecas abaixo estão instaladas: <PRE>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 libtiff4 libtiff4-dev libxml2 libxml2-dev
<BR></PRE>Abraço e boa sorte.<BR><BR>
<DIV><SPAN class=gmail_quote>2007/2/22, Sadi Nogueira <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:forums@sadi.eti.br" target=_blank>forums@sadi.eti.br
</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV><SPAN class=e id=q_110eaab35046a1a5_1>
<DIV>
<DIV><SPAN><FONT face=Arial size=2>Pessoal, não sei se já passou por aqui
uma dúvida parecida e desculpem pelo tamanho do post...</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN><SPAN><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN> <FONT face=Arial size=2>Já consegui instalar e
fazer funcionar o ASTERISK no FreeBSD por completo, mas por razões
neo-politico-sócio-agropecuária , tenho que manter no ambiente o
Debian.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>Se eu instalar o Asterisk pelo apt-get do
Debian 3.1 r5 (P-III 600, 256MB, 3C905C-TX), tudo instala normalmente, o
Zaptel não dá erro mas também não funciona. </FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>servidor:~# apt-get install
zaptel<BR>Reading Package Lists... Done<BR>Building Dependency Tree...
Done<BR>The following NEW packages will be installed:<BR> zaptel<BR>0
upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<BR>Need to get
0B/39.6kB of archives.<BR>After unpacking 311kB of additional disk space
will be used.<BR>Selecting previously deselected package zaptel.<BR>(Reading
database ... 28758 files and directories currently installed.)<BR>Unpacking
zaptel (from .../zaptel_1%3a1.0.7-4.1_i386.deb) ...<BR>Setting up zaptel
(1.0.7-4.1) ...</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN><FONT face=Arial size=2>servidor:~# zttool<BR>Unable to open
/dev/zap/ctl: No such device<BR>servidor:~#<BR></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>Se eu baixar e tentar compilar,
t<SPAN><FONT face=Arial size=2>oda a instalação corre normalmente, exceto a
do zaptel que dá erro assim que eu dou o primeiro comando. Já tentei com o
Kernel 2.4 e com o Kernel 2.6 e acontece a mesma coisa.
</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN></SPAN><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>servidor:/usr/src/zaptel-1.2# make
clean<BR>rm -f torisatool makefw tor2fw.h radfw.h<BR>rm -f ztcfg torisatool
makefw ztmonitor ztspeed zttest fxotune zttool<BR>rm -f patgen pattest
patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest<BR>rm -f *.o
ztcfg tzdriver sethdlc sethdlc-new<BR>rm -f zonedata.lo tonezone.lo
libtonezone.so *.lo<BR>make -C SUBDIRS=/usr/src/zaptel-1.2
clean<BR>make: *** SUBDIRS=/usr/src/zaptel-1.2: No such file or
directory. Stop.<BR>make: *** [clean] Error
2<BR>servidor:/usr/src/zaptel-1.2#<BR></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>Se eu tentar seguir e mandar compilar,
olhem o que ocorre:</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>servidor:/usr/src/zaptel-1.2# make<BR>cc
-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -I. -O4 -g -Wall
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o
gendigits.c<BR>cc -o gendigits gendigits.o -lm<BR>./gendigits >
tones.h<BR>cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -I. -O4 -g
-Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
makefw.c -o makefw<BR>./makefw tormenta2.rbt tor2fw >
tor2fw.h<BR>Loaded 69900 bytes from file<BR>./makefw pciradio.rbt radfw >
radfw.h<BR>Loaded 42096 bytes from file</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN><FONT face=Arial size=2>cc -I/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/drivers/net -Wall -I. -Wstrict-prototypes
-fomit-frame-pointer -I/drivers/net/wan -I/include/net
-DSTANDALONE_ZAPATA -o zaptel-base.o -c zaptel-base.c<BR>In file included
from zaptel-base.c:41:<BR>/usr/include/linux/kernel.h:72: error: syntax
error before "size_t"<BR>/usr/include/linux/kernel.h:74: error: syntax error
before "size_t"<BR>In file included from
/usr/include/linux/timex.h:186,<BR>
from
/usr/include/linux/sched.h:11,<BR>
from
/usr/include/linux/module.h:10,<BR>
from zaptel-base.c:43:<BR>/usr/include/linux/time.h:14: error: syntax error
before "time_t"<BR>/usr/include/linux/time.h:16: error: syntax error before
'}' token<BR>/usr/include/linux/time.h:20: error: syntax error before
"time_t"<BR>In file included from
/usr/include/linux/timex.h:186,<BR>
from
/usr/include/linux/sched.h:11,<BR>
from
/usr/include/linux/module.h:10,<BR>
from zaptel-base.c:43:<BR>/usr/include/linux/time.h: In function
`timespec_to_jiffies':<BR>/usr/include/linux/time.h:198: error:
dereferencing pointer to incomplete type<BR>/usr/include/linux/time.h:199:
error: dereferencing pointer to incomplete
type<BR>/usr/include/linux/time.h: In function
`jiffies_to_timespec':<BR>/usr/include/linux/time.h:219: error:
dereferencing pointer to incomplete type<BR>/usr/include/linux/time.h:219:
error: dereferencing pointer to incomplete
type<BR>/usr/include/linux/time.h: In function
`timeval_to_jiffies':<BR>/usr/include/linux/time.h:237: error: dereferencing
pointer to incomplete type<BR>/usr/include/linux/time.h:238: error:
dereferencing pointer to incomplete type<BR>/usr/include/linux/time.h: In
function `jiffies_to_timeval':<BR>/usr/include/linux/time.h:257: error:
dereferencing pointer to incomplete type<BR>/usr/include/linux/time.h:257:
error: dereferencing pointer to incomplete
type<BR>/usr/include/linux/time.h:258: error: dereferencing pointer to
incomplete type<BR>/usr/include/linux/time.h: In function
`timespec_equal':<BR>/usr/include/linux/time.h:263: error: dereferencing
pointer to incomplete type<BR>/usr/include/linux/time.h:263: error:
dereferencing pointer to incomplete type<BR>/usr/include/linux/time.h:263:
error: dereferencing pointer to incomplete
type<BR>/usr/include/linux/time.h:263: error: dereferencing pointer to
incomplete type<BR>/usr/include/linux/time.h: In function
`get_seconds':<BR>/usr/include/linux/time.h:305: error: invalid use of
undefined type `struct timespec'<BR>/usr/include/linux/time.h: At top
level:<BR>/usr/include/linux/time.h:329: error: syntax error before
"time_t"<BR>/usr/include/linux/time.h: In function
`set_normalized_timespec':<BR>/usr/include/linux/time.h:331: error: `nsec'
undeclared (first use in this function)<BR>/usr/include/linux/time.h:331:
error: (Each undeclared identifier is reported only
once<BR>/usr/include/linux/time.h:331: error: for each function it appears
in.)<BR>/usr/include/linux/time.h:333: error: `sec' undeclared (first use in
this function)<BR>/usr/include/linux/time.h:339: error: `ts' undeclared
(first use in this function)<BR>/usr/include/linux/time.h: At top
level:<BR>/usr/include/linux/time.h:359: error: field `it_interval' has
incomplete type<BR>/usr/include/linux/time.h:360: error: field `it_value'
has incomplete type<BR>/usr/include/linux/time.h:364: error: field
`it_interval' has incomplete type<BR>/usr/include/linux/time.h:365: error:
field `it_value' has incomplete type<BR>In file included from
/usr/include/linux/sched.h:11,<BR>
from
/usr/include/linux/module.h:10,<BR>
from zaptel-base.c:43:<BR>/usr/include/linux/timex.h:203: error: field
`time' has incomplete type<BR>In file included from
/usr/include/linux/string.h:23,<BR>
from
/usr/include/linux/bitmap.h:11,<BR>
from
/usr/include/linux/cpumask.h:8,<BR>
from
/usr/include/linux/sched.h:15,<BR>
from
/usr/include/linux/module.h:10,<BR>
from zaptel-base.c:43:<BR>/usr/include/asm/string.h:41: error: syntax error
before "size_t"<BR>/usr/include/asm/string.h: In function
`strncpy':<BR>/usr/include/asm/string.h:55: error: `src' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:55: error: `dest'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:55:
error: `count' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:77: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`strncat':<BR>/usr/include/asm/string.h:94: error: `src' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:94: error: `dest'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:94:
error: `count' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:121: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`strncmp':<BR>/usr/include/asm/string.h:139: error: `cs' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:139: error: `ct'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:139:
error: `count' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:180: error: syntax error before
"strlen"<BR>/usr/include/asm/string.h:193: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`__memcpy':<BR>/usr/include/asm/string.h:206: error: `n' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:206: error: `to'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:206:
error: `from' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:215: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`__constant_memcpy':<BR>/usr/include/asm/string.h:217: error: `n' undeclared
(first use in this function)<BR>/usr/include/asm/string.h:218: error: `to'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:218:
error: `from' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:299: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`memmove':<BR>/usr/include/asm/string.h:302: error: `dest' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:302: error: `src'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:307:
error: `n' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:326: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`memchr':<BR>/usr/include/asm/string.h:330: error: `count' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:338: error: `c'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:338:
error: `cs' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:342: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`__memset_generic':<BR>/usr/include/asm/string.h:349: error: `c' undeclared
(first use in this function)<BR>/usr/include/asm/string.h:349: error: `s'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:349:
error: `count' undeclared (first use in this
function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:362: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`__constant_c_memset':<BR>/usr/include/asm/string.h:375: error: `c'
undeclared (first use in this function)<BR>/usr/include/asm/string.h:375:
error: `count' undeclared (first use in this
function)<BR>/usr/include/asm/string.h:375: error: `s' undeclared (first use
in this function)<BR>/usr/include/asm/string.h: At top
level:<BR>/usr/include/asm/string.h:382: error: syntax error before
"strnlen"<BR>/usr/include/asm/string.h:382: error: syntax error before
"size_t"<BR>/usr/include/asm/string.h: In function
`strnlen':<BR>/usr/include/asm/string.h:397: error: `s' undeclared (first
use in this function)<BR>/usr/include/asm/string.h:397: error: `count'
undeclared (first use in this function)<BR>...</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>( </FONT></SPAN><SPAN><FONT face=Arial
size=2>mais 1 milhão de terabytes de mensagens como essas
seguidas</FONT></SPAN><SPAN><FONT face=Arial size=2>)</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>...</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>zaptel.h:1162: error: storage size of
`confin' isn't known<BR>zaptel.h:1163: error: storage size of `confout'
isn't known<BR>zaptel-base.c:6560: error: storage size of `zt_fops' isn't
known<BR>make: *** [zaptel-base.o] Error
1<BR>servidor:/usr/src/zaptel-1.2#</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>Alguém já tentou (conseguiu) instalar o
Zaptel no Debian, ou declaradamente não funciona?</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>Enquanto escrevo esse testamento, tento o
FEDORA CORE 5...</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial
size=2>Abraços.</FONT></SPAN></DIV></DIV></SPAN></DIV><BR>----------------------------------------<BR>Estação
VoIP 2006<BR>5 e 6 Dezembro<BR>Curitiba PR<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.estacaovoip.com.br"
target=_blank>http://www.estacaovoip.com.br
</A><BR><BR>_______________________________________________<BR>LIsta de
discussões AsteriskBrasil.org<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:AsteriskBrasil@listas.asteriskbrasil.org"
target=_blank>AsteriskBrasil@listas.asteriskbrasil.org </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil"
target=_blank>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A>
<BR><BR>_______________________________________________<BR>Acesse o
wiki AsteriskBrasil.org:<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.asteriskbrasil.org"
target=_blank>http://www.asteriskbrasil.org
</A><BR></BLOCKQUOTE></DIV><BR><BR>----------------------------------------<BR>Estação
VoIP 2006<BR>5 e 6 Dezembro<BR>Curitiba PR<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.estacaovoip.com.br"
target=_blank>http://www.estacaovoip.com.br
</A><BR><BR>_______________________________________________<BR>LIsta de
discussões AsteriskBrasil.org<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org
</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil"
target=_blank>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A>
<BR><BR>_______________________________________________<BR>Acesse o wiki
AsteriskBrasil.org:<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.asteriskbrasil.org"
target=_blank>http://www.asteriskbrasil.org </A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR> . ' ' ` . Rodrigo
Sertori<BR>: : ' : Analista de
Sistemas<BR>`. ` ' ` +55 16 9151
1392<BR> `- </BODY></HTML>