Description:
Can't compile latest trinitycore on ubuntu 16.04 using gcc 6.3.0
../game/libgame.a(DBCStores.cpp.o): In function
__gnu_cxx::__normal_iterator<wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > boost::re_detail::re_is_set_member<__gnu_cxx::__normal_iterator<wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, wchar_t, boost::regex_traits<wchar_t, boost::cpp_regex_traits<wchar_t> >, unsigned int>(__gnu_cxx::__normal_iterator<wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, boost::re_detail::re_set_long<unsigned int> const*, boost::re_detail::regex_data<wchar_t, boost::regex_traits<wchar_t, boost::cpp_regex_traits<wchar_t> > > const&, bool)': (PATH)/src/server/game/DataStores/DBCStores.cpp:(.text._ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKwNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEEwNS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKwNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEEwNS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x282): undefined reference toboost::re_detail::cpp_regex_traits_implementation::transformabi:cxx11 const'
(PATH)/src/server/game/DataStores/DBCStores.cpp:(.text._ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKwNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEEwNS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKwNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEEwNS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x455): undefined reference to `boost::re_detail::cpp_regex_traits_implementation::transform_primaryabi:cxx11 const'
Branch(es):
3.3.5
TC rev. hash/commit: f0614b5
TDB version: Latest
Operating system: Ubuntu 16.04
things like this is why we state avoid LTS.
could you explain more in detail your environment configuration ? does gcc 6.3.0 come by default on Ubuntu 16.04 or did you manually add additional repositories ?
To me it looks like a compatibility issues between your GCC and your Boost installation.
Default GCC on ubuntu 16.04 is: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
and i've just installed 6.3.0 using this instruction: link
i tried with both 5.4.0 and 6.3.0 and also reinstalled libboost after upgrade but no success
gcc 5.4.0 is no longer supported by TC after recent https://github.com/TrinityCore/TrinityCore/commit/5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b changes.
googling your error returns some results about incompatibility between that version of boost and that version of gcc. either you find online a solution or I'd suggest you to upgrade your ubuntu to something more recent.
As this issues affects only a particular configuration on a system that we no longer support, I'm going to close the issue (anyone can still reply/help if they had your same issue).
Another tip as suggested at https://github.com/TrinityCore/TrinityCore/commit/5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b#commitcomment-26341235 could be to switch to clang instead of gcc.
So much more error's with gcc7 g++7 馃槩
No issue at all in ubuntu 17.10 馃憣
Server crashed after logout, not sure if its related.
Put the crashlog
Sorry its not related to trinitycore, caused by a custom script.