Paradox Posted August 24, 2013 Report Share Posted August 24, 2013 cc1plus? is that an officially supported compiler? Link to comment Share on other sites More sharing options...
Aokromes Posted August 24, 2013 Report Share Posted August 24, 2013 You need more ram memory/swap space. Link to comment Share on other sites More sharing options...
Ins4n3 Posted August 24, 2013 Report Share Posted August 24, 2013 My Debian Server has 4GB RAM. Is that too little? Link to comment Share on other sites More sharing options...
magoxxx Posted August 24, 2013 Report Share Posted August 24, 2013 Ummm 128GB of RAM, 512MB of swap...¿Memory problem? Link to comment Share on other sites More sharing options...
magoxxx Posted August 24, 2013 Report Share Posted August 24, 2013 Upgrade swap from 512Mb to 4096MB, same error. ¿Problem with ram? Link to comment Share on other sites More sharing options...
Ins4n3 Posted August 24, 2013 Report Share Posted August 24, 2013 With the newest Rev of Trinity i have this error: [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o /home/wow/TrinityCore/dep/g3dlite/source/FileSystem.cpp: In member function 'void G3D::FileSystem::_clearCache(const string&)': /home/wow/TrinityCore/dep/g3dlite/source/FileSystem.cpp:326:6: internal compiler error: segmentation fault Please submit a full bug report, with preprocessed source if appropriate. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o] Error 1 make[1]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/all] Error 2 make: *** [all] Error 2 Link to comment Share on other sites More sharing options...
Aokromes Posted August 24, 2013 Report Share Posted August 24, 2013 With the newest Rev of Trinity i have this error: [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o[ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o/home/wow/TrinityCore/dep/g3dlite/source/FileSystem.cpp: In member function 'void G3D::FileSystem::_clearCache(const string&)':/home/wow/TrinityCore/dep/g3dlite/source/FileSystem.cpp:326:6: internal compiler error: segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.The bug is not reproducible, so it is likely a hardware or OS problem.make[2]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o] Error 1make[1]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/all] Error 2make: *** [all] Error 2Read the bold. Link to comment Share on other sites More sharing options...
CDawg Posted August 24, 2013 Report Share Posted August 24, 2013 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. I havn't seen this error before. I'm running CentOS and another LinuxMint 15 box. Both without that error. Did you guys dive through your dmesg or /proc directories to see any kind of error during boot up? Also, something else that seemed strange that I havn't seen on Linux was this: internal compiler error: segmentation fault Something doesn't seem right. I don't mind if you guys cat an output of the dmesg on pastebin a PM to me. Link to comment Share on other sites More sharing options...
Xolitude Posted August 25, 2013 Report Share Posted August 25, 2013 Hi people C: After trying to compile everything, everything else compiled EXCEPT worldserver.exe I've attached the BuildLog below, the errors it's getting are at the bottom. If I could get any help, it'd be appreciated C: BuildLog.htm Link to comment Share on other sites More sharing options...
Guybrush Posted August 25, 2013 Report Share Posted August 25, 2013 What version of OpenSSL are you using? You should read the stickies before posting. This is similar to a post a user made just a few days ago. http://www.trinitycore.org/f/topic/9027-server-dont-compile/ Link to comment Share on other sites More sharing options...
Xolitude Posted August 25, 2013 Report Share Posted August 25, 2013 I'm pretty sure it's 1.0.1e or something close. I tried opening CMD and checking but it said openssl isn't a valid command. Link to comment Share on other sites More sharing options...
Guybrush Posted August 25, 2013 Report Share Posted August 25, 2013 I'm pretty sure it's 1.0.1e or something close. And it was 1.0.1e and not 1.0.1e Light? Btw, assuming you're using windows -- C:OpenSSL-Win32. The readme should yield the version you're using. Link to comment Share on other sites More sharing options...
Xolitude Posted August 25, 2013 Report Share Posted August 25, 2013 And it was 1.0.1e and not 1.0.1e Light? Btw, assuming you're using windows -- C:OpenSSL-Win32. The readme should yield the version you're using. "OpenSSL 1.0.1e" Is what it says at the top. Could it be that I am using OpenSSL's Win64 includes folder and root folder? Because GIT asks for the Include/Root dir of OpenSSL and that's the one I'm using Link to comment Share on other sites More sharing options...
Xolitude Posted August 25, 2013 Report Share Posted August 25, 2013 BUMP: So I installed Win32 Version of OpenSSL, still didn't fix the problem... Link to comment Share on other sites More sharing options...
Dekadence Posted August 25, 2013 Report Share Posted August 25, 2013 (edited) Same error on Debian 6 and 7 x64, procesor IntelCore i5, RAM and SWAP: 16GB [ 10%] Built target generate_worldPCH.cpp[ 10%] [ 10%] [ 10%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/ARC4.cpp.oBuilding CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/SHA1.cpp.oBuilding CXX object src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.oc++: Internal error: Segmentation fault (program cc1plus)Please submit a full bug report.c++: Internal error: Segmentation fault (program cc1plus)Please submit a full bug report.make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/ARC4.cpp.o] Error 1make[2]: *** Waiting for unfinished jobs....make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o] Error 1c++: Internal error: Segmentation fault (program cc1plus)Please submit a full bug report.make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/SHA1.cpp.o] Error 1make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2make[1]: *** Waiting for unfinished jobs....[ 10%] Built target revision.hmake: *** [all] Error 2 :S Edited August 25, 2013 by Dekadence Link to comment Share on other sites More sharing options...
Ins4n3 Posted August 25, 2013 Report Share Posted August 25, 2013 (edited) Hmm. I just installed Debian 7 32bits in a Vmware on my local pc and the core compiled fine without any error. But i really have no idea what is wrong with our servers. :/ Edited August 25, 2013 by Ins4n3 Link to comment Share on other sites More sharing options...
Xero Posted August 26, 2013 Report Share Posted August 26, 2013 I am having the same issue on Debian Linux 6.0.6. 16GB RAM and 1GB swap. Link to comment Share on other sites More sharing options...
Orangs Posted August 26, 2013 Report Share Posted August 26, 2013 (edited) Hello users, I'm trying to compile Trinitycore 4.3.4 server, all necessary libraries and files of type OpenSSL are updated on latest version. Error occurs when compiling. I do not know how to solve this problem. [ 10%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/OpenSSLCrypto.cpp.o /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: variable or field 'threadIdCallback' declared void /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: 'CRYPTO_THREADID' was not declared in this scope /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:34: error: 'id' was not declared in this scope /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp: In function 'void OpenSSLCrypto::threadsSetup()': /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:46: error: 'threadIdCallback' was not declared in this scope /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:46: error: 'CRYPTO_THREADID_set_callback' was not declared in this scope /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp: In function 'void OpenSSLCrypto::threadsCleanup()': /root/DDtc/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:53: error: 'CRYPTO_THREADID_set_callback' was not declared in this scope make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/OpenSSLCrypto.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make: *** [all] Error 2 Please help. I would like to also ask how it is possible that at various repack have a database AI and TDB from you is not there? I download last version from GITHUB,but i dont know where is the problem :/ Edited August 26, 2013 by Orangs Link to comment Share on other sites More sharing options...
Mino Posted August 26, 2013 Report Share Posted August 26, 2013 (edited) You should check your openssl version .. dpkg -l openssl If it´s older then 1.0.0 , you must upgrade to newer version or try to remove current openssl and install it again. Edited August 26, 2013 by Sillie Link to comment Share on other sites More sharing options...
Paradox Posted August 26, 2013 Report Share Posted August 26, 2013 and, be sure to use the NON light version, because cmake needs the headers and libraries, not just the openssl .dll or .so Link to comment Share on other sites More sharing options...
Dekadence Posted August 27, 2013 Report Share Posted August 27, 2013 The problem still with Debian 7.1 (all updated), original repositories, original kernel, x64 bits.@Aokromes: You can test with x64?Greetings Link to comment Share on other sites More sharing options...
Aokromes Posted August 27, 2013 Report Share Posted August 27, 2013 Dekadence i only compile x64 and works for me. Link to comment Share on other sites More sharing options...
Aokromes Posted August 28, 2013 Report Share Posted August 28, 2013 I have tested Debian 6 x64, 7 x64 and 7.1 x64 and they compile for me.Read http://tech.chandrahasa.com/2009/12/26/fixing-internal-error-segmentation-fault/ Link to comment Share on other sites More sharing options...
McBitter Posted August 28, 2013 Report Share Posted August 28, 2013 Few years ago I ran into the same problem. I had faulty CPU. Ofcourse it can be caused by faulty RAM too (or any other controller that stores and processes data). 1 Link to comment Share on other sites More sharing options...
Aokromes Posted August 30, 2013 Report Share Posted August 30, 2013 Can you people try http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction Link to comment Share on other sites More sharing options...
Recommended Posts