[ERRO] COMPILAR Distro Tfs Luan 0.4 _7

MatheusLiiroou
em Infraestrutura

MatheusLiiroou

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/05/12Posts: 17Char no Tibia: Lapshot

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#

Gustavolima

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/10/11Posts: 8

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

Lumus

Lumus ;)
avatar
Marquês
Marquês

INFOS

Grupo: MarquêsRegistrado: 03/02/13Posts: 1233Gênero: MasculinoChar no Tibia: Partiu Baladinha

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".

 

 

#include <iostream>

 

cout <<"Mano, a brisa é louca o barato é dentro";

otaviiocesar

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/07/15Posts: 7

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