Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

hello, i have the following error:

/opt/trinity2/TrinityCore/src/server/shared/Cryptography/BigNumber.cpp: In member function âACE_Auto_Array_Ptr<unsigned char> BigNumber::AsByteArray(int32, bool)â:
/opt/trinity2/TrinityCore/src/server/shared/Cryptography/BigNumber.cpp:189:43: error: no matching function for call to âACE_Auto_Array_Ptr<unsigned char>::ACE_Auto_Array_Ptr(ACE_Auto_Array_Ptr<unsigned char>)â
/opt/trinity2/TrinityCore/src/server/shared/Cryptography/BigNumber.cpp:189:43: note: candidate is:
In file included from /usr/include/ace/Service_Gestalt.h:25:0,

 libace-6.0.3

 

It is a debian 7 Server.

 

I hope you can help me.

Update OpenSSL to 1.0 or newer

Link to comment
Share on other sites

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hello!

 

I don't compile TrinityCore.

Last rev.

 

Debian 6.

 

Errors:

[  8%] /root/avakecore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: variable or field ‘threadIdCallback’ declared void
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: ‘CRYPTO_THREADID’ was not declared in this scope
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: ‘id’ was not declared in this scope
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp: In function ‘void OpenSSLCrypto::threadsSetup()’:
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:46: error: ‘threadIdCallback’ was not declared in this scope
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:46: error: ‘CRYPTO_THREADID_set_callback’ was not declared in this scope
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp: In function ‘void OpenSSLCrypto::threadsCleanup()’:
/root/trinitycore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:53: error: ‘CRYPTO_THREADID_set_callback’ was not declared in this scope

Please, help me(

Edited by Neket007
Link to comment
Share on other sites

well I guess you still have some thing messed up .

 

cmake  in the errors you were posting can not find the build , also visual c++  complains about this

 

I would suggest scrapping all and restarting , read the wiki twice maybe even three times , you made your compile difficult for your self as you are using two  

different hard drives with the directory's . would hazard a guess C: has the visual C++ and cmake on it and your build and source are on D:

 

if you are new to this project I would suggest sticking to the wiki and not adding complications like extra directory's

  • Upvote 1
Link to comment
Share on other sites

Hello everybody,

 

I have this error while compiling :

[  9%] Building CXX object src/server/shared/CMakeFiles/sharedPCH.cpp_dephelp.di r/PrecompiledHeaders/sharedPCH.cpp.o
Linking CXX shared module libsharedPCH.cpp_dephelp.so
[  9%] Built target sharedPCH.cpp_dephelp
Scanning dependencies of target generate_sharedPCH.cpp
[  9%] Generating sharedPCH.h.gch
[  9%] Built target generate_sharedPCH.cpp
Scanning dependencies of target shared
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Configuration /Config.cpp.o

c++: internal compiler error: segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o ] Error 4
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
make: *** [all] Error 2

 

 

 

Ace Version is 6.0.3

Openssl Version is  1.0.1e

System is: Linux Debian 7  64 bits

Gcc Version: (Debian 4.7.2-5) 4.7.2

 

 

Thank you for your help.

Edited by Ins4n3
Link to comment
Share on other sites

Same error on Ubuntu 13 64bits, gcc 4.7.3, Ace 6.03, OpenSSL 1.0.1c


Trying in Ubuntu 12 64 bits, gcc 4.7.2, Ace 6.03, OpenSSL 1.0.1c, same error

Trying in Ubuntu 13 64 bits , gcc 4.8,1, Ace 6.03, OpenSSL 1.0.1c, same error

Trying in Debian 6 64 bits, gcc 4.6.3, Ace 5.7.8, OpenSSL 1.0.0, same error

 

Any idea, the error is this:


Linking CXX static library libg3dlib.a
[ 10%] Built target g3dlib
[ 10%] Generating worldPCH.h.gch
[ 11%] Built target generate_authPCH.cpp
[ 11%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o

c++: error interno del compilador: Violación de segmento (programa cc1plus)
Por favor envíe un reporte completo de bichos,
con el código preprocesado si es apropiado.

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o] Error 4
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
[ 11%] Built target generate_worldPCH.cpp
[ 11%] Built target generate_gamePCH.cpp
[ 11%] Built target generate_ScriptPCH.cpp
make: *** [all] Error 2
 


more info:

 

if compile using flag -DUSE_COREPCH=0 the server continu compiling until this error.

 

[ 32%] Built target collision
[ 33%] Built target authserver
[ 33%] Built target ScriptPCH.cpp_dephelp
[ 34%] Built target generate_ScriptPCH.cpp
[ 34%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Spells/spell_shaman.cpp.o


c++: internal compiler error: segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.


make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Spells/spell_shaman.cpp.o] Error 4
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [all] Error 2

 

Edited by magoxxx
Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...