[AsteriskBrasil] Problemas ao compilar zaptel

Rafael dos Santos Saraiva rafaelsnsa em gmail.com
Terça Setembro 9 12:38:34 BRT 2014


Creio que o Zaptel não seja compatível as últimas versões do Kernel, tente
uma mais antiga.


[image: Sua Foto] <rafaelsnsa em gmail.com>Rafael S. SaraivaPorto Alegre - RS
| Mobile:  (51) 8174-7956
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
<https://plus.google.com/u/0/+RafaelSaraivaRS>


2014-09-09 12:34 GMT-03:00 <pedro em pritelematica.com.br>:

>  Boa tarde pessoal,
>
>
> Estou tentando instalar o zaptel num CentOS 7 64bit, mas não consigo, está
> dando erro na hora do make. Alguém pode me ajudar por favor, segue abaixo
> toda a saída.
>
> Infelizmente, preciso utilizar o zaptel e não o dahdi, pois o sistema que
> eu rodo é engessado num API em Delphi que não temos como mudar o código.
>
>
>
> Desde já, obrigado!
>
> ---------------
>
>
>
> # make
>
> cc -I/lib/modules/3.10.0-123.el7.x86_64/build/include -O6 -DMODULE
> -D__KERNEL__ -DEXPORT_SYMTAB
> -I/lib/modules/3.10.0-123.el7.x86_64/build/drivers/net -Wall -I.
> -Wstrict-prototypes -fomit-frame-pointer
> -I/lib/modules/3.10.0-123.el7.x86_64/build/drivers/net/wan
> -I/lib/modules/3.10.0-123.el7.x86_64/build/include/net -DSTANDALONE_ZAPATA
> -o zaptel-base.o -c zaptel-base.c
> In file included from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/dynamic_debug.h:111:0,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/kernel.h:14,
>                  from zaptel-base.c:41:
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:23:15:
> warning: conflicting types for built-in function âstrncpyâ [enabled by
> default]
>  extern char * strncpy(char *,const char *, __kernel_size_t);
>                ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:32:15:
> warning: conflicting types for built-in function âstrncatâ [enabled by
> default]
>  extern char * strncat(char *, const char *, __kernel_size_t);
>                ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:41:12:
> warning: conflicting types for built-in function âstrncmpâ [enabled by
> default]
>  extern int strncmp(const char *,const char *,__kernel_size_t);
>             ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:50:12:
> warning: conflicting types for built-in function âstrncasecmpâ [enabled by
> default]
>  extern int strncasecmp(const char *s1, const char *s2, size_t n);
>             ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:77:24:
> warning: conflicting types for built-in function âstrlenâ [enabled by
> default]
>  extern __kernel_size_t strlen(const char *);
>                         ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:89:24:
> warning: conflicting types for built-in function âstrspnâ [enabled by
> default]
>  extern __kernel_size_t strspn(const char *,const char *);
>                         ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:92:24:
> warning: conflicting types for built-in function âstrcspnâ [enabled by
> default]
>  extern __kernel_size_t strcspn(const char *,const char *);
>                         ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:96:15:
> warning: conflicting types for built-in function âmemsetâ [enabled by
> default]
>  extern void * memset(void *,int,__kernel_size_t);
>                ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:99:15:
> warning: conflicting types for built-in function âmemcpyâ [enabled by
> default]
>  extern void * memcpy(void *,const void *,__kernel_size_t);
>                ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:102:15:
> warning: conflicting types for built-in function âmemmoveâ [enabled by
> default]
>  extern void * memmove(void *,const void *,__kernel_size_t);
>                ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:108:12:
> warning: conflicting types for built-in function âmemcmpâ [enabled by
> default]
>  extern int memcmp(const void *,const void *,__kernel_size_t);
>             ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/string.h:111:15:
> warning: conflicting types for built-in function âmemchrâ [enabled by
> default]
>  extern void * memchr(const void *,int,__kernel_size_t);
>                ^
> In file included from zaptel-base.c:41:0:
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/kernel.h:358:5:
> warning: conflicting types for built-in function âsnprintfâ [enabled by
> default]
>  int snprintf(char *buf, size_t size, const char *fmt, ...);
>      ^
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/kernel.h:360:5:
> warning: conflicting types for built-in function âvsnprintfâ [enabled by
> default]
>  int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
>      ^
> In file included from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/preempt.h:9:0,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/spinlock.h:50,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/seqlock.h:35,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/time.h:5,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/stat.h:18,
>                  from
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/module.h:10,
>                  from zaptel-base.c:43:
> /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/thread_info.h:54:29:
> fatal error: asm/thread_info.h: Arquivo ou diretório não encontrado
>  #include <asm/thread_info.h>
>                              ^
> compilation terminated.
> make: ** [zaptel-base.o] Erro 1
>
>
>
> _______________________________________________
> WORKOFFEES KHOMP: Eventos KHOMP na sua cidade. BRASÍLIA, dia 28 de agosto
> e RIO DE JANEIRO, dia 04 de setembro. Inscrições GRATUITAS e sorteio de
> BRINDES.
> Garanta a sua vaga e saiba mais em: www.workoffee.com.br
> _______________________________________________
> ALIGERA – Fabricante e desenvolvedor nacional de Soluções para telefonia
> IP .
> Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
> Banco de Canais Analógicos  – Appliance Asterisk Acesse www.aligera.com.br
> _______________________________________________
> DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e
> FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.
> Construa soluções de PABX IP com produtos DigiVoice - visite
> www.digivoice.com.br
> _______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20140909/dd383055/attachment-0001.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil