<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tentei fazer o link e mesmo assim não deu... mas acredito que não seja
esse o problema pois:<br>
<br>
[root@asterisk src]# ls -l /lib/modules/2.6.9-34.EL/<br>
total 608<br>
lrwxrwxrwx 1 root root 33 Jun 5 2006 build ->
/usr/src/kernels/2.6.9-34.EL-i686<br>
drwxr-xr-x 9 root root 4096 Abr 22 00:54 kernel<br>
-rw-r--r-- 1 root root 116060 Jun 5 2006 modules.alias<br>
-rw-r--r-- 1 root root 69 Jun 5 2006 modules.ccwmap<br>
-rw-r--r-- 1 root root 124623 Jun 5 2006 modules.dep<br>
-rw-r--r-- 1 root root 73 Jun 5 2006 modules.ieee1394map<br>
-rw-r--r-- 1 root root 357 Jun 5 2006 modules.inputmap<br>
-rw-r--r-- 1 root root 235 Jun 5 2006 modules.isapnpmap<br>
-rw-r--r-- 1 root root 108207 Jun 5 2006 modules.pcimap<br>
-rw-r--r-- 1 root root 65101 Jun 5 2006 modules.symbols<br>
-rw-r--r-- 1 root root 156211 Jun 5 2006 modules.usbmap<br>
lrwxrwxrwx 1 root root 5 Jun 5 2006 source -> build<br>
[root@asterisk src]# <br>
<br>
<br>
<br>
Luiz Henrique G. Granja escreveu:
<blockquote
cite="mid31d2512c0605142221q4a0b3140qdc3c15e96157a355@mail.gmail.com"
type="cite">Opa,<br>
<br>
o q esta dependendo de vc terminar de compilar o zaptel, deve ser que
vc esta sem o kernel-headers, pois dentro do /lib/modules/`uname -r`/
deve estar faltando o link do build para onde encotra-se o source de
kernel que vc esta usando.
<br>
<br>
[]'s<br>
Luiz Granja<br>
<br>
<br>
<div><span class="gmail_quote">2006/5/14, Eduardo Pereira <<a
href="mailto:edupbar@gmail.com">edupbar@gmail.com</a>>:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Estou
tentando compilar o zaptel em um CentOS com kernel 2.6.9-34 mas<br>
esta dando erro<br>
tenho os pacotes instalado:<br>
[root@asterisk 2.6.9-34.EL-i686]# rpm -qa | grep kernel<br>
kernel-2.6.9-34.EL<br>
kernel-utils-2.4-13.1.80
<br>
kernel-devel-2.6.9-34.EL<br>
<br>
achei que poderia ser esse kernel-utils-2.4 mas com o yum tenho<br>
[root@asterisk 2.6.9-34.EL-i686]# yum update kernel-utils<br>
Setting up Update Process<br>
Setting up repositories<br>
Reading repository metadata in from local files
<br>
Could not find update match for kernel-utils<br>
No Packages marked for Update/Obsoletion<br>
<br>
ESTE É O ERRO, ALGUEM JÁ PASSOU POR ISSO?<br>
/lib/modules/2.6.9-34.EL/build<br>
make -C /lib/modules/2.6.9-34.EL/build<br>
SUBDIRS=/usr/src/asterisk/zaptel-1.2.5 XPPMOD= modules<br>
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'<br>
CC [M] /usr/src/asterisk/zaptel-1.2.5/zaptel.o<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: syntax error before
<br>
"zone_lock"<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: warning: type defaults to<br>
`int' in declaration of `zone_lock'<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: incompatible types<br>
in initialization
<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: error: initializer element<br>
is not constant<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:384: warning: data definition<br>
has no type or storage class<br>
/usr/src/asterisk/zaptel-
1.2.5/zaptel.c:385: error: syntax error before<br>
"chan_lock"<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: warning: type defaults to<br>
`int' in declaration of `chan_lock'<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: error: incompatible types
<br>
in initialization<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: error: initializer element<br>
is not constant<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:385: warning: data definition<br>
has no type or storage class<br>
/usr/src/asterisk/zaptel-1.2.5/zaptel.c:188: warning: 'fcstab' defined<br>
but not used<br>
make[2]: ** [/usr/src/asterisk/zaptel-1.2.5/zaptel.o] Erro 1<br>
make[1]: ** [_module_/usr/src/asterisk/zaptel-1.2.5] Erro 2<br>
make[1]: Leaving directory `/usr/src/kernels/2.6.9-
34.EL-i686'<br>
make: ** [linux26] Erro 2<br>
<br>
Obrigado.<br>
<br>
_______________________________________________<br>
LIsta de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org
</a><br>
<a
href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
<br>
_______________________________________________<br>
Acesse o wiki AsteriskBrasil.org:<br>
<a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Eu apoio Software Livre!!!<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
LIsta de discussões AsteriskBrasil.org
<a class="moz-txt-link-abbreviated" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a>
<a class="moz-txt-link-freetext" href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a>
_______________________________________________
Acesse o wiki AsteriskBrasil.org:
<a class="moz-txt-link-freetext" href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a></pre>
</blockquote>
<br>
</body>
</html>