<!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><SPAN class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial size=2></FONT></SPAN><SPAN
class=078055711-22022007><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007> <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 class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><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 class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial size=2>Se eu baixar e
tentar compilar, t<SPAN class=078055711-22022007><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 class=078055711-22022007></SPAN><SPAN class=078055711-22022007><FONT
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial size=2>Se eu tentar seguir
e mandar compilar, olhem o que ocorre:</FONT></SPAN></DIV>
<DIV><SPAN class=078055711-22022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><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 class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial size=2>(
</FONT></SPAN><SPAN class=078055711-22022007><FONT face=Arial size=2>mais 1
milhão de terabytes de mensagens como essas seguidas</FONT></SPAN><SPAN
class=078055711-22022007><FONT face=Arial size=2>)</FONT></SPAN></DIV>
<DIV><SPAN class=078055711-22022007><FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><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 class=078055711-22022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><FONT face=Arial size=2>Enquanto escrevo
esse testamento, tento o FEDORA CORE 5...</FONT></SPAN></DIV>
<DIV><SPAN class=078055711-22022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078055711-22022007><FONT face=Arial
size=2>Abraços.</DIV></FONT></SPAN></BODY></HTML>