MA
action

[ERRO] COMPILAR Distro Tfs Luan 0.4 _7

Por MatheusLiiroou, 09 de ago. de 2015 em Infraestrutura

erro
tfs
linux
otserv
4
1.5k
09 de agosto de 2015 às 19:36

Boa Noite, Galerinha Do Xtibia, Estou Com Um Problema ao Compilar, Ocorre Tudo Certinho a Hora Que Chega No Otserv.cpp Da Errors, Obs: Uso As Sources Do Luan 0.4, Meu Sistema é Ubuntu 12.04 - 64 Bits ! Segue Os Erros:

otserv.cpp: In function ‘void signalHandler(int32_t)’:

otserv.cpp:184:8: error: ‘SIGHUP’ was not declared in this scope
otserv.cpp:189:8: error: ‘SIGTRAP’ was not declared in this scope
otserv.cpp:193:8: error: ‘SIGCHLD’ was not declared in this scope
otserv.cpp:197:8: error: ‘SIGUSR1’ was not declared in this scope
otserv.cpp:202:8: error: ‘SIGUSR2’ was not declared in this scope
otserv.cpp:206:8: error: ‘SIGCONT’ was not declared in this scope
otserv.cpp:211:8: error: ‘SIGQUIT’ was not declared in this scope
otserv.cpp:216:8: error: ‘SIGTERM’ was not declared in this scope
otserv.cpp: In function ‘int main(int, char**)’:
otserv.cpp:277:19: error: aggregate ‘main(int, char**)::sigaction sigh’ has incomplete type and cannot be defined
otserv.cpp:278:20: error: ‘SIG_IGN’ was not declared in this scope
otserv.cpp:281:27: error: ‘sigemptyset’ was not declared in this scope
otserv.cpp:282:12: error: ‘SIGPIPE’ was not declared in this scope
otserv.cpp:282:32: error: invalid use of incomplete type ‘struct main(int, char**)::sigaction’
otserv.cpp:277:9: error: forward declaration of ‘struct main(int, char**)::sigaction’
otserv.cpp:285:9: error: ‘SIGHUP’ was not declared in this scope
otserv.cpp:285:30: error: ‘signal’ was not declared in this scope
otserv.cpp:286:9: error: ‘SIGTRAP’ was not declared in this scope
otserv.cpp:287:9: error: ‘SIGCHLD’ was not declared in this scope
otserv.cpp:288:9: error: ‘SIGUSR1’ was not declared in this scope
otserv.cpp:289:9: error: ‘SIGUSR2’ was not declared in this scope
otserv.cpp:290:9: error: ‘SIGCONT’ was not declared in this scope
otserv.cpp:291:9: error: ‘SIGQUIT’ was not declared in this scope
otserv.cpp:292:9: error: ‘SIGTERM’ was not declared in this scope
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/npc.Tpo .deps/npc.Po
make[1]: Leaving directory `/otserv/trunk'
make: *** [all] Error 2
root@meuserver:/otserv/trunk#

GustavolimaG
10 de agosto de 2015 às 14:03

um membro deixou a solução desse erro no tópico da sources no outro fórum, de uma olhada... mais se não quiser ter problemas use o "S.O DEBIAN 7.8" 100% compatível, o tanto que fiz algumas alterações e o mesmo não deu nem um erro. Te ajudei? LIKE THIS :D

1 mês depois...
LumusL
18 de setembro de 2015 às 02:16

Tópico Movido
Este tópico foi movido de "OTServSuporte OTServSuporte InfraestruturaDúvidas de sistemas operacionais"
para "OTServSuporte OTServSuporte InfraestruturaDúvidas de sistemas operacionaisDúvidas resolvidas - Sistemas Operacionais".

 

 

2 meses depois...
04 de novembro de 2015 às 17:47

Pode me passar o link da source ? e como conseguiu resolver este problema ?