Leia o Readme do zaptel que diz que tem esse comando com os pacotes necessários para a instalação<br> apt-get install kernel-headers-`uname -r` build-essential libnewt-dev libusb-dev<br><br><br><div><span class="gmail_quote">
On 7/24/07, <b class="gmail_sendername">Dio Makibara</b> <<a href="mailto:dioedu@yahoo.com.br">dioedu@yahoo.com.br</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Olá Cleviton,<br><br><b><i><a href="mailto:cleviton.araujo@caixa.gov.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cleviton.araujo@caixa.gov.br</a></i></b> escreveu:<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<div><span class="e" id="q_113f873ffba13a06_1"> <div align="left"><span lang="pt-br"><font face="Arial" size="2">Pessoal:</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">Alguém
</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2"> consegue esclarecer o</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">porquê</font></span><span lang="pt-br">
</span><span lang="pt-br"><font face="Arial" size="2"> de eu não conseguir compilar</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">a</font></span><span lang="pt-br"></span><span lang="pt-br">
<font face="Arial" size="2"> zaptel</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">versão 1.2.14</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">
sobre um</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2">a máquina</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">AMD Athlon(tm) XP 2800+</font>
</span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2">, com o kernel <a href="http://2.6.15.7" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.6.15.7</a></font></span><span lang="pt-br">
</span><span lang="pt-br"> <font face="Arial" size="2">no Debian 3.1 r4.</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">Todos</font></span><span lang="pt-br"></span><span lang="pt-br">
<font face="Arial" size="2"></font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">os pacotes</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">comumente
</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">necessários</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2"> já estão instalados.</font></span>
<span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2"> Parecer ser um problema</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">de</font></span><span lang="pt-br"></span>
<span lang="pt-br"> <font face="Arial" size="2">dependência</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2"> de pacotes.</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2">
Logo abaixo, segue a</font></span><span lang="pt-br"></span><span lang="pt-br"> <font face="Arial" size="2">saída</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2"> do comando make.</font>
</span><span lang="pt-br"></span><span lang="pt-br"></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">Cordialmente,</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">
Cléviton</font></span></div> <br> <br> <div align="left"><span lang="pt-br"><font face="Arial" size="2">AsteriskPABX</font></span><span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2">:/usr/src/zaptel-
1.2.14# make</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o
gendigits.o gendigits.c</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">cc -o gendigits gendigits.o -lm</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">
./gendigits >
tones.h</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
makefw.c -o makefw</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">./makefw tormenta2.rbt tor2fw > tor2fw.h</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">
Loaded 69900 bytes from file</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">./makefw pciradio.rbt radfw > radfw.h</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">
Loaded 42096 bytes from file</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o
ztcfg.o
ztcfg.c</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">cc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -o zonedata.lo
zonedata.c</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">cc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -o tonezone.lo
tonezone.c</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">ar rcs libtonezone.a zonedata.lo tonezone.lo</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">
cc -o ztcfg ztcfg.o libtonezone.a -lm</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">/usr/lib/libc_nonshared.a(elf-init.oS)(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">: multiple definition of `__i686.get_pc_thunk.bx'</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">
libtonezone.a(tonezone.lo)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/usr/src/zaptel-1.2.14/tonezone.c:41: first defined here</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">collect2: ld returned 1 exit status
</font></span></div> <div align="left"><span lang="en-us"><font face="Arial" size="2">make: ** [ztcfg] Erro 1</font></span></div> <div align="left"><span lang="pt-br"><font face="Arial" size="2">AsteriskPABX</font></span>
<span lang="pt-br"></span><span lang="pt-br"><font face="Arial" size="2">:/usr/src/zaptel-1.2.14#</font></span><span lang="pt-br"></span><span lang="pt-br"></span></div></span></div> </blockquote>Eu também tive este problema, e a instalação do kernel-header funcionou.
<br>Na verdade, eu atualizei o kernel para 1.2.18-4-686. Mas acredito que não seja
necessário.<br><br>Atenciosamente<br><br>Diógenes Makibara<br><br><p>
Flickr agora em português. Você cria, todo mundo vê. <a href="http://www.flickr.com.br/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Saiba mais</a>.
</p><br>_______________________________________________<br>Compre uma camiseta da AsteriskBrasil.org!<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.voipmania.com.br" target="_blank">
http://www.voipmania.com.br</a><br> == <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://VoIPMania.com.br" target="_blank">VoIPMania.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></blockquote></div><br>