Error linking libcore.a into freeoriond

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
gvdm
Space Floater
Posts: 43
Joined: Sun Nov 06, 2011 11:04 am

Error linking libcore.a into freeoriond

#1 Post by gvdm » Sat Feb 23, 2013 2:08 pm

Specifically it seems to be lots of "undefined reference to `adobe::version_1::name_t::name_t(char const*)'"

gcc 4.7.2
boost 1.50
bullet 2.81
ogre 1.7.4

What follows is the output from make from when the error started

Code: Select all

Linking CXX executable ../freeoriond
../libcore.a(Effect.cpp.o): In function `Effect::GiveEmpireTech::GiveEmpireTech(std::string const&)':
Effect.cpp:(.text+0x91d9): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libcore.a(Effect.cpp.o): In function `Effect::SetEmpireTechProgress::SetEmpireTechProgress(std::string const&, ValueRef::ValueRefBase<double>*)':
Effect.cpp:(.text+0x92e0): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libcore.a(Effect.cpp.o): In function `Effect::SetEmpireCapital::SetEmpireCapital()':
Effect.cpp:(.text+0x93c8): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libcore.a(Effect.cpp.o): In function `Effect::SetEmpireStockpile::SetEmpireStockpile(ResourceType, ValueRef::ValueRefBase<double> const*)':
Effect.cpp:(.text+0x94b3): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libcore.a(Effect.cpp.o): In function `Effect::SetEmpireMeter::SetEmpireMeter(std::string const&, ValueRef::ValueRefBase<double> const*)':
Effect.cpp:(.text+0x95a3): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libcore.a(Effect.cpp.o):Effect.cpp:(.text+0x118bc): more undefined references to `adobe::version_1::name_t::name_t(char const*)' follow
../libcore.a(ValueRef.cpp.o): In function `adobe::version_1::closed_hash_set<adobe::pair<adobe::version_1::name_t, MeterType>, adobe::get_element<0, adobe::pair<adobe::version_1::name_t, MeterType> >, boost::hash<adobe::version_1::name_t>, std::equal_to<adobe::version_1::name_t>, adobe::version_1::capture_allocator<adobe::pair<adobe::version_1::name_t, MeterType> > >::allocate(adobe::version_1::capture_allocator<adobe::pair<adobe::version_1::name_t, MeterType> > const&, unsigned long)':
ValueRef.cpp:(.text._ZN5adobe9version_115closed_hash_setINS_4pairINS0_6name_tE9MeterTypeEENS_11get_elementILi0ES5_EEN5boost4hashIS3_EESt8equal_toIS3_ENS0_17capture_allocatorIS5_EEE8allocateERKSE_m[_ZN5adobe9version_115closed_hash_setINS_4pairINS0_6name_tE9MeterTypeEENS_11get_elementILi0ES5_EEN5boost4hashIS3_EESt8equal_toIS3_ENS0_17capture_allocatorIS5_EEE8allocateERKSE_m]+0x133): undefined reference to `adobe::version_1::local_new_delete_g'
../libcore.a(ValueRef.cpp.o): In function `adobe::version_1::closed_hash_set<adobe::pair<adobe::version_1::name_t, MeterType>, adobe::get_element<0, adobe::pair<adobe::version_1::name_t, MeterType> >, boost::hash<adobe::version_1::name_t>, std::equal_to<adobe::version_1::name_t>, adobe::version_1::capture_allocator<adobe::pair<adobe::version_1::name_t, MeterType> > >::reserve(unsigned long)':
ValueRef.cpp:(.text._ZN5adobe9version_115closed_hash_setINS_4pairINS0_6name_tE9MeterTypeEENS_11get_elementILi0ES5_EEN5boost4hashIS3_EESt8equal_toIS3_ENS0_17capture_allocatorIS5_EEE7reserveEm[_ZN5adobe9version_115closed_hash_setINS_4pairINS0_6name_tE9MeterTypeEENS_11get_elementILi0ES5_EEN5boost4hashIS3_EESt8equal_toIS3_ENS0_17capture_allocatorIS5_EEE7reserveEm]+0x9e): undefined reference to `adobe::version_1::local_new_delete_g'
../libparse.a(BuildingsParser.cpp.o): In function `bool boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::attribute<0>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >::parse<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >, boost::spirit::context<boost::fusion::cons<bool&, boost::fusion::nil>, boost::fusion::vector0<void> >, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const>, boost::spirit::unused_type const>(boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >&, boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > const&, boost::spirit::context<boost::fusion::cons<bool&, boost::fusion::nil>, boost::fusion::vector0<void> >&, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const> const&, boost::spirit::unused_type const&) const [clone .isra.1684]':
BuildingsParser.cpp:(.text+0x2054): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libparse.a(SpeciesParser.cpp.o): In function `bool boost::spirit::qi::action<boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<3>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > >, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::attribute<0>, boost::phoenix::composite<boost::phoenix::detail::construct_eval<SpeciesParams>, boost::fusion::vector<boost::spirit::local_variable<0>, boost::spirit::local_variable<1>, boost::spirit::local_variable<3>, boost::spirit::local_variable<2>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> >, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >::parse<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >, boost::spirit::context<boost::fusion::cons<SpeciesParams&, boost::fusion::nil>, boost::fusion::vector4<bool, bool, bool, bool> >, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const>, boost::spirit::unused_type const>(boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >&, boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > const&, boost::spirit::context<boost::fusion::cons<SpeciesParams&, boost::fusion::nil>, boost::fusion::vector4<bool, bool, bool, bool> >&, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const> const&, boost::spirit::unused_type const&) const':
SpeciesParser.cpp:(.text._ZNK5boost6spirit2qi6actionINS1_11alternativeINS_6fusion4consINS2_INS0_3lex9referenceIKNS6_9token_defIN5adobe9version_16name_tEcmEEmEENS_7phoenix5actorINSF_9compositeINSF_11assign_evalENS4_6vectorINS0_14local_variableILi3EEENSF_5valueIbEENS4_5void_ESO_SO_SO_SO_SO_SO_SO_EEEEEEEENS5_INS1_10eps_parserENS4_3nilEEEEEEENSG_INSH_ISI_NSJ_INS0_9attributeILi0EEENSH_INSF_6detail14construct_evalI13SpeciesParamsEENSJ_INSK_ILi0EEENSK_ILi1EEESL_NSK_ILi2EEESO_SO_SO_SO_SO_SO_EEEESO_SO_SO_SO_SO_SO_SO_SO_EEEEEEE5parseINS6_7lexertl8iteratorINS1E_7functorINS1E_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidSB_SsN4mpl_2naES1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_EENS1P_5bool_ILb1EEEmEENS1E_6detail4dataES1M_S1T_S1T_EEEENS0_7contextINS5_IRS12_SU_EENS4_7vector4IbbbbEEEENS1_22state_switcher_contextINS7_IKNS6_6detail10lexer_def_INS6_5lexerINS1E_11actor_lexerIS1U_S1M_S1X_EEEEEENS0_11unused_typeEEEKS1L_EEKS2E_EEbRT_RKS2J_RT0_RKT1_RT2_[_ZNK5boost6spirit2qi6actionINS1_11alternativeINS_6fusion4consINS2_INS0_3lex9referenceIKNS6_9token_defIN5adobe9version_16name_tEcmEEmEENS_7phoenix5actorINSF_9compositeINSF_11assign_evalENS4_6vectorINS0_14local_variableILi3EEENSF_5valueIbEENS4_5void_ESO_SO_SO_SO_SO_SO_SO_EEEEEEEENS5_INS1_10eps_parserENS4_3nilEEEEEEENSG_INSH_ISI_NSJ_INS0_9attributeILi0EEENSH_INSF_6detail14construct_evalI13SpeciesParamsEENSJ_INSK_ILi0EEENSK_ILi1EEESL_NSK_ILi2EEESO_SO_SO_SO_SO_SO_EEEESO_SO_SO_SO_SO_SO_SO_SO_EEEEEEE5parseINS6_7lexertl8iteratorINS1E_7functorINS1E_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidSB_SsN4mpl_2naES1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_S1Q_EENS1P_5bool_ILb1EEEmEENS1E_6detail4dataES1M_S1T_S1T_EEEENS0_7contextINS5_IRS12_SU_EENS4_7vector4IbbbbEEEENS1_22state_switcher_contextINS7_IKNS6_6detail10lexer_def_INS6_5lexerINS1E_11actor_lexerIS1U_S1M_S1X_EEEEEENS0_11unused_typeEEEKS1L_EEKS2E_EEbRT_RKS2J_RT0_RKT1_RT2_]+0x54): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libparse.a(SpeciesParser.cpp.o): In function `bool boost::spirit::qi::detail::expect_function<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >, boost::spirit::context<boost::fusion::cons<SpeciesParams&, boost::fusion::nil>, boost::fusion::vector4<bool, bool, bool, bool> >, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const>, boost::spirit::qi::expectation_failure<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > >::operator()<boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<0>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > >(boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<0>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > const&) const':
SpeciesParser.cpp:(.text._ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi0EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_[_ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi0EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_]+0x42): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libparse.a(SpeciesParser.cpp.o): In function `bool boost::spirit::qi::detail::expect_function<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >, boost::spirit::context<boost::fusion::cons<SpeciesParams&, boost::fusion::nil>, boost::fusion::vector4<bool, bool, bool, bool> >, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const>, boost::spirit::qi::expectation_failure<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > >::operator()<boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<1>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > >(boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<1>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > const&) const':
SpeciesParser.cpp:(.text._ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi1EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_[_ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi1EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_]+0x42): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libparse.a(SpeciesParser.cpp.o): In function `bool boost::spirit::qi::detail::expect_function<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > >, boost::spirit::context<boost::fusion::cons<SpeciesParams&, boost::fusion::nil>, boost::fusion::vector4<bool, bool, bool, bool> >, boost::spirit::qi::state_switcher_context<boost::spirit::lex::reference<boost::spirit::lex::detail::lexer_def_<boost::spirit::lex::lexer<boost::spirit::lex::lexertl::actor_lexer<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > > const, boost::spirit::unused_type>, char const* const>, boost::spirit::qi::expectation_failure<boost::spirit::lex::lexertl::iterator<boost::spirit::lex::lexertl::functor<boost::spirit::lex::lexertl::position_token<__gnu_cxx::__normal_iterator<char const*, std::string>, boost::mpl::vector<bool, int, double, adobe::version_1::name_t, std::string, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::bool_<true>, unsigned long>, boost::spirit::lex::lexertl::detail::data, __gnu_cxx::__normal_iterator<char const*, std::string>, mpl_::bool_<true>, mpl_::bool_<true> > > > >::operator()<boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<2>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > >(boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::action<boost::spirit::lex::reference<boost::spirit::lex::token_def<adobe::version_1::name_t, char, unsigned long> const, unsigned long>, boost::phoenix::actor<boost::phoenix::composite<boost::phoenix::assign_eval, boost::fusion::vector<boost::spirit::local_variable<2>, boost::phoenix::value<bool>, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> > > >, boost::fusion::cons<boost::spirit::qi::eps_parser, boost::fusion::nil> > > const&) const':
SpeciesParser.cpp:(.text._ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi2EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_[_ZNK5boost6spirit2qi6detail15expect_functionINS0_3lex7lexertl8iteratorINS5_7functorINS5_14position_tokenIN9__gnu_cxx17__normal_iteratorIPKcSsEENS_3mpl6vectorIbidN5adobe9version_16name_tESsN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENSJ_5bool_ILb1EEEmEENS5_6detail4dataESD_SN_SN_EEEENS0_7contextINS_6fusion4consIR13SpeciesParamsNSU_3nilEEENSU_7vector4IbbbbEEEENS1_22state_switcher_contextINS4_9referenceIKNS4_6detail10lexer_def_INS4_5lexerINS5_11actor_lexerISO_SD_SR_EEEEEENS0_11unused_typeEEEKSC_EENS1_19expectation_failureISS_EEEclINS1_11alternativeINSV_INS1_6actionINS14_IKNS4_9token_defISI_cmEEmEENS_7phoenix5actorINS1R_9compositeINS1R_11assign_evalENSU_6vectorINS0_14local_variableILi2EEENS1R_5valueIbEENSU_5void_ES20_S20_S20_S20_S20_S20_S20_EEEEEEEENSV_INS1_10eps_parserESY_EEEEEEEEbRKT_]+0x42): undefined reference to `adobe::version_1::name_t::name_t(char const*)'
../libparse.a(TechsParser.cpp.o):TechsParser.cpp:(.text+0x2ea0): more undefined references to `adobe::version_1::name_t::name_t(char const*)' follow
collect2: error: ld returned 1 exit status
make[2]: *** [freeoriond] Error 1
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Error 2
make: *** [all] Error 2
Any ideas? I don't even know where this adobe code comes from or what it's used for.

User avatar
Dilvish
AI Lead, Programmer
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Error linking libcore.a into freeoriond

#2 Post by Dilvish » Sat Feb 23, 2013 3:37 pm

You might need to update those packages; there are recent changes to FO that use more from GiGi & Ogre; though I can't say what min version is needed. I'm compiling fine with
Ogre 1.8.1
Boost 1.5.1
Bullet 2.8.0
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

AndrewW
Juggernaut
Posts: 789
Joined: Mon Feb 04, 2013 10:15 pm

Re: Error linking libcore.a into freeoriond

#3 Post by AndrewW » Sat Feb 23, 2013 4:23 pm

Dilvish wrote:You might need to update those packages; there are recent changes to FO that use more from GiGi & Ogre; though I can't say what min version is needed. I'm compiling fine with
Ogre 1.8.1
Boost 1.5.1
Bullet 2.8.0
Just to add using the same Ogre and Bullet versions but
Boost: 1.49.0-r2.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12499
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Error linking libcore.a into freeoriond

#4 Post by Geoff the Medio » Sat Feb 23, 2013 6:30 pm

What version of Gigi are you linking against? If it's not the version in FreeOrion SVN, then you might get errors of this sort.

User avatar
Dilvish
AI Lead, Programmer
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Error linking libcore.a into freeoriond

#5 Post by Dilvish » Sat Feb 23, 2013 7:23 pm

ah yes -- on my system at least, making FO doesn't automatically check to make GG, it wasn't until I saw related errors that I double checked & found I needed to recompile/reinstall GiGi
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

gvdm
Space Floater
Posts: 43
Joined: Sun Nov 06, 2011 11:04 am

Re: Error linking libcore.a into freeoriond

#6 Post by gvdm » Sat Feb 23, 2013 7:48 pm

This is git commit 790ddd3cd346aefa8288d1d54bd0d9d038381ea9 checked out 13/2, about 10 days ago, GiGi and FO checked out at the same time.
The GiGi is from "SVN" (well, repository) but I installed it out and linked from that prefix.
I'll re-fetch and recompile and let you know

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12499
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Error linking libcore.a into freeoriond

#7 Post by Geoff the Medio » Sat Feb 23, 2013 7:58 pm

I don't use the CMake build myself, but I vaguely recall it being necessary to "install" GiGi for the FreeOrion CMake to find it properly...

gvdm
Space Floater
Posts: 43
Joined: Sun Nov 06, 2011 11:04 am

Re: Error linking libcore.a into freeoriond

#8 Post by gvdm » Sat Feb 23, 2013 9:27 pm

That is correct, I did install GiGi into a prefix within my home directory. As a rule I never store stuff I custom compile into the root directory as it then gets real messy with your package manage. For example if GiG ever gets packaged by fedora like bullet and ogre are then there are all sorts of files everywhere, not to mention the complications with uninstalling. I practise good hygeine with the machines I administrate.

To make the FreeOrion cmake find GiGi I modify cmake/FindGiGi.cmake. FreeOrion then cmakes so I assume it's all good.
...
and, the build has just reported that it has linked freeoriond, so I assume that error was just for whichever revision that was.

BTW, is there any way to find out which revision the git repo is at from the hash?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12499
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Error linking libcore.a into freeoriond

#9 Post by Geoff the Medio » Sat Feb 23, 2013 10:02 pm

gvdm wrote:BTW, is there any way to find out which revision the git repo is at from the hash?
I / we don't have anything to do with the git mirror, and don't know how it is set up / works.

Post Reply