[AsteriskBrasil] Problemas ao compilar zaptel
pedro em pritelematica.com.br
pedro em pritelematica.com.br
Terça Setembro 9 12:34:16 BRT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20140909/120d91df/attachment.html>
Mais detalhes sobre a lista de discussão AsteriskBrasil