Postado Maio 26, 2020 5 anos Bom dia pessoal, tenho enfrentado alguns problemas na hora de compilar o OTserv 8.60 no debian9, se alguém souber o motivo, serei grato! Obrigado. Editado Maio 27, 2020 5 anos por cs007 (veja o histórico de edições)
Postado Maio 28, 2020 5 anos Autor make[1]: Entering directory '/home/sources' CXX actions.o CXX allocator.o CXX beds.o CXX baseevents.o CXX chat.o CXX combat.o CXX condition.o CXX configmanager.o CXX connection.o CXX container.o CXX creature.o CXX creatureevent.o CXX cylinder.o CXX database.o CXX databasemanager.o CXX databasemysql.o CXX depotchest.o CXX depotlocker.o CXX dispatcher.o CXX exception.o CXX fileloader.o CXX game.o CXX globalevent.o CXX group.o CXX gui.o CXX house.o CXX housetile.o CXX inbox.o CXX inputbox.o CXX ioban.o CXX ioguild.o CXX iologindata.o CXX iomap.o CXX iomapserialize.o CXX item.o CXX itemattributes.o CXX items.o CXX luascript.o CXX mailbox.o CXX manager.o CXX map.o CXX monster.o CXX monsters.o CXX movement.o CXX networkmessage.o CXX npc.o CXX otpch.o CXX otserv.o CXX outfit.o otserv.cpp:165:4: warning: invalid suffix on literal; C++11 requires a space bet ween literal and string macro [-Wliteral-suffix] "A server developed by: "SOFTWARE_DEVELOPERS".\n" ^ otserv.cpp:167:4: warning: invalid suffix on literal; C++11 requires a space bet ween literal and string macro [-Wliteral-suffix] ""FORUMS"\n"; ^ otserv.cpp:441:6: warning: invalid suffix on literal; C++11 requires a space bet ween literal and string macro [-Wliteral-suffix] << "A server developed by: "SOFTWARE_DEVELOPERS"." << std::endl ^ otserv.cpp:443:6: warning: invalid suffix on literal; C++11 requires a space bet ween literal and string macro [-Wliteral-suffix] << ""FORUMS"" << std::endl; ^ CXX outputmessage.o otserv.cpp: In function âbool argumentsHandler(StringVec)â: otserv.cpp:167:16: warning: statement has no effect [-Wunused-value] ""FORUMS"\n"; ^ otserv.cpp: In function âvoid otserv(StringVec, ServiceManager*)â: otserv.cpp:615:18: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str()); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:616:18: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str()); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:617:18: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_dec2bn(&g_RSA->d, g_config.getString(ConfigManager::RSA_PRIVATE).c_str()); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:618:18: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_dec2bn(&g_RSA->n, g_config.getString(ConfigManager::RSA_MODULUS).c_str()); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:619:18: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_dec2bn(&g_RSA->e, g_config.getString(ConfigManager::RSA_PUBLIC).c_str()); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ In file included from /usr/include/openssl/asn1.h:24:0, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: otserv.cpp:629:15: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx); ^ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ In file included from /usr/include/openssl/asn1.h:24:0, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: otserv.cpp:629:28: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx); ^ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ In file included from /usr/include/openssl/asn1.h:24:0, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: otserv.cpp:630:15: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx); ^ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ In file included from /usr/include/openssl/asn1.h:24:0, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: otserv.cpp:630:28: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx); ^ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:632:23: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:632:36: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ otserv.cpp:632:46: error: invalid use of incomplete type âRSA {aka struct rsa_st }â BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from /usr/include/openssl/rsa.h:16, from otserv.cpp:44: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of âRSA {aka s truct rsa_st}â typedef struct rsa_st RSA; ^~~~~~ Makefile:570: recipe for target 'otserv.o' failed make[1]: *** [otserv.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/sources' Makefile:419: recipe for target 'all' failed make: *** [all] Error 2 root@debian:/home/sources# @Underewar Editado Maio 28, 2020 5 anos por cs007 (veja o histórico de edições)
Postado Maio 28, 2020 5 anos Autor root@debian:/home/sources# openssl version -a OpenSSL 1.1.0l 10 Sep 2019 built on: reproducible build, date unspecified platform: debian-amd64 options: bn(64,64) rc4(16x,int) des(int) blowfish(ptr) compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\"" OPENSSLDIR: "/usr/lib/ssl" ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1" root@debian:/home/sources# @Underewar
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.