Postado Agosto 9, 2015 9 anos Boa Noite, Galerinha Do Tk, 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#
Postado Abril 11, 2016 9 anos eu digitei isso lá msm assim o erro persiste ?? ou como adciona isso ??
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.