Error compiling FreeOrion (build 3260)...

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Error compiling FreeOrion (build 3260)...

#1 Post by RickSusaf » Tue Nov 10, 2009 4:05 am

This is probably a poor way to introduce myself, but Hello. I'm a longtime fan of the Orion series, and decided to give FreeOrion a try a few days ago. I like what I've seen so far, so I decide to compile the latest build. Mind you, this is my first attempt at compiling anything. I'm currently running Ubuntu 9.10 Karmic. I installed everything the Compile page said I needed, got the SVN, compiled GiGi, and went ahead with the FreeOrion compile. When I ran "make", I got this error I can only describe as an explosion:

EDIT: See new post below.

If someone could tell me what I did wrong, I would greatly appreciate it. :?
Last edited by RickSusaf on Wed Nov 11, 2009 4:13 pm, edited 1 time in total.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: Error compiling FreeOrion (build 3260)...

#2 Post by OndrejR » Tue Nov 10, 2009 1:29 pm

Ubuntu 9.10 was not tested yet. You have some missing dependency(png-dev?)

RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Re: Error compiling FreeOrion (build 3261)...

#3 Post by RickSusaf » Tue Nov 10, 2009 3:00 pm

Ok, I installed a few more dependencies that I found I was missing and tried to compile again. It went ok most of the way through, then I got this error:

(Oh, this is on build 3261, not 3260.)

EDIT: See new posts below.

Any ideas?
Last edited by RickSusaf on Wed Nov 11, 2009 4:15 pm, edited 1 time in total.

User avatar
tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

Re: Error compiling FreeOrion (build 3260)...

#4 Post by tzlaine » Tue Nov 10, 2009 5:15 pm

Please add "set(CMAKE_VERBOSE_MAKEFILE true)" at the end of FreeOrion/CMakeLists.txt, and re-run make. I'd like to see what that link command looks like.

Also, are you running 64-bit or 32-bit Ubuntu? GG and FO build fine for me on Karmic as 64-bit code.

RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Re: Error compiling FreeOrion (build 3260)...

#5 Post by RickSusaf » Tue Nov 10, 2009 6:23 pm

Is there a way I can make a log file of the compile process as it's going? That might be easier to post that a huge text block of errors...

I'm using 64-bit Ubuntu 9.10.

RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Re: Error compiling FreeOrion (build 3260)...

#6 Post by RickSusaf » Tue Nov 10, 2009 6:41 pm

Ok, I added the line you asked, and here's what I got:

EDIT: See new post below.
Last edited by RickSusaf on Wed Nov 11, 2009 4:52 pm, edited 1 time in total.

mZhura
Space Kraken
Posts: 168
Joined: Sun Sep 27, 2009 10:51 am
Location: Moskow, RU

Re: Error compiling FreeOrion (build 3260)...

#7 Post by mZhura » Tue Nov 10, 2009 9:07 pm

for better forum readability i recommend you to attach files with text instead of pasting the text itself

RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Re: Error compiling FreeOrion (build 3260)...

#8 Post by RickSusaf » Wed Nov 11, 2009 5:46 pm

Okay, I think I broke something this time...
[ 57%] Building CXX object client/AI/CMakeFiles/freeorionca.dir/__/__/log4cpp/src/PThreads.cpp.o
remake[2]: *** No rule to make target `/usr/lib/libboost_python-mt.so', needed by `freeorionca'. Stop.
CMakeFiles/Makefile2:121: *** [client/AI/CMakeFiles/freeorionca.dir/all] Error 2

#0 client/AI/CMakeFiles/freeorionca.dir/all at /home/rick/freeorion/FreeOrion/CMakeFiles/Makefile2:121
#1 all (.PHONY target)
Makefile:68: *** [all] Error 2

#0 all at /home/rick/freeorion/FreeOrion/Makefile:68
#1 default_target at /home/rick/freeorion/FreeOrion/Makefile:5
I'm also getting some strange warnings as I'm compiling. Tried to upload them in a text file, but the forum wouldn't accept it.

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

Re: Error compiling FreeOrion (build 3260)...

#9 Post by Geoff the Medio » Wed Nov 11, 2009 6:22 pm

RickSusaf wrote:No rule to make target `/usr/lib/libboost_python-mt.so', needed by `freeorionca'.
That's a boost library, which you need to build or install separately from FreeOrion, and probably tell CMake where to find.
I'm also getting some strange warnings as I'm compiling. Tried to upload them in a text file, but the forum wouldn't accept it.
Just put the text in your post; it's easier to find them again by searching the forum (or google) if someone else has the same problem.

RickSusaf
Krill Swarm
Posts: 13
Joined: Tue Nov 10, 2009 3:51 am

Re: Error compiling FreeOrion (build 3260)...

#10 Post by RickSusaf » Wed Nov 11, 2009 6:44 pm

Ok, they're kinda lengthy, but here are the warnings I've been getting (in addition to the previous error):
In file included from /home/rick/freeorion/FreeOrion/universe/Parser.h:13,
from /home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:1:
/usr/include/boost/spirit.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp"
In file included from /home/rick/freeorion/FreeOrion/universe/Parser.h:14,
from /home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:1:
/usr/include/boost/spirit/attribute.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_attribute.hpp"
In file included from /home/rick/freeorion/FreeOrion/universe/Parser.h:15,
from /home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:1:
/usr/include/boost/spirit/phoenix.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/phoenix1.hpp"
In file included from /usr/include/boost/spirit/home/classic/core/non_terminal/rule.hpp:33,
from /usr/include/boost/spirit/home/classic/core.hpp:41,
from /usr/include/boost/spirit/home/classic.hpp:24,
from /usr/include/boost/spirit/include/classic.hpp:11,
from /usr/include/boost/spirit.hpp:25,
from /home/rick/freeorion/FreeOrion/universe/Parser.h:13,
from /home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cp
and
p:1:
In member function ‘typename boost::spirit::parser_result<DerivedT, ScannerT>::type boost::spirit::impl::rule_base<DerivedT, EmbedT, T0, T1, T2>::parse(const ScannerT&) const [with ScannerT = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, DerivedT = boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<EffectsGroupVecClosure>, boost::spirit::nil_t>, EmbedT = const boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<EffectsGroupVecClosure>, boost::spirit::nil_t>&, T0 = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, T1 = boost::spirit::closure_context<EffectsGroupVecClosure>, T2 = boost::spirit::nil_t]’:
cc1plus: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
cc1plus: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
/home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp: In member function ‘typename boost::spirit::match_result<ScannerT, ContextResultT>::type boost::spirit::impl::concrete_parser<ParserT, ScannerT, AttrT>::do_parse_virtual(const ScannerT&) const [with ParserT = boost::spirit::action<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::strlit<const char*>, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<1, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<2, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<ColourClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<3, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<0, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::composite<phoenix::new_3<TechCategory>, phoenix::actor<phoenix::closure_member<1, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::closure_member<2, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::actor<phoenix::closure_member<3, phoenix::closure<TechCategory*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GG::Clr, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, ScannerT = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, AttrT = TechCategory*]’:
/home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:323: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
/home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:323: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
/home/rick/freeorion/FreeOrion/universe/Tech.h: In member function ‘typename boost::spirit::parser_result<DerivedT, ScannerT>::type boost::spirit::impl::rule_base<DerivedT, EmbedT, T0, T1, T2>::parse(const ScannerT&) const [with ScannerT = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, DerivedT = boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<ItemSpecClosure>, boost::spirit::nil_t>, EmbedT = const boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<ItemSpecClosure>, boost::spirit::nil_t>&, T0 = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, T1 = boost::spirit::closure_context<ItemSpecClosure>, T2 = boost::spirit::nil_t]’:
/home/rick/freeorion/FreeOrion/universe/Tech.h:87: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
/home/rick/freeorion/FreeOrion/universe/Tech.h:87: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
In file included from /usr/include/boost/spirit/home/classic/core/composite/operators.hpp:13,
from /usr/include/boost/spirit/home/classic/meta/impl/parser_traits.ipp:14,
from /usr/include/boost/spirit/home/classic/meta/parser_traits.hpp:18,
from /usr/include/boost/spirit/home/classic/core/composite/epsilon.hpp:15,
from /usr/include/boost/spirit/home/classic/core.hpp:48,
from /usr/include/boost/spirit/home/classic.hpp:24,
from /usr/include/boost/spirit/include/classic.hpp:11,
from /usr/include/boost/spirit.hpp:25,
from /home/rick/freeorion/FreeOrion/universe/Parser.h:13,
from /home/rick/freeorion/FreeOrion/universe/TopLevelParsers.cpp:1:
/home/rick/freeorion/FreeOrion/universe/Tech.h: In member function ‘typename boost::spirit::parser_result<boost::spirit::sequence<A, B>, ScannerT>::type boost::spirit::sequence<A, B>::parse(const ScannerT&) const [with ScannerT = boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, A = boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::sequence<boost::spirit::strlit<const char*>, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<1, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<2, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<3, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::symbols<TechType, char, boost::spirit::impl::tst<TechType, char> >, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<5, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<4, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::real_parser<double, boost::spirit::real_parser_policies<double> >, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<6, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::action<boost::spirit::int_parser<int, 10, 1u, -0x00000000000000001>, phoenix::actor<phoenix::composite<phoenix::assign_op, phoenix::actor<phoenix::closure_member<7, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > >, ParamLabel>, boost::spirit::alternative<boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<insert_impl, phoenix::actor<phoenix::closure_member<9, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, boost::spirit::sequence<boost::spirit::sequence<boost::spirit::chlit<char>, boost::spirit::kleene_star<boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<NameClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<insert_impl, phoenix::actor<phoenix::closure_member<9, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > > >, boost::spirit::chlit<char> > > >, ParamLabel>, B = boost::spirit::alternative<boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<ItemSpecClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<push_back_impl, phoenix::actor<phoenix::closure_member<10, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > >, boost::spirit::sequence<boost::spirit::sequence<boost::spirit::chlit<char>, boost::spirit::kleene_star<boost::spirit::action<boost::spirit::rule<boost::spirit::scanner<const char*, boost::spirit::scanner_policies<boost::spirit::inhibit_case_iteration_policy<boost::spirit::skip_parser_iteration_policy<Skip, boost::spirit::iteration_policy> >, boost::spirit::match_policy, boost::spirit::action_policy> >, boost::spirit::closure_context<ItemSpecClosure>, boost::spirit::nil_t>, phoenix::actor<phoenix::composite<push_back_impl, phoenix::actor<phoenix::closure_member<10, phoenix::closure<Tech*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TechType, double, int, std::vector<boost::shared_ptr<const Effect::EffectsGroup>, std::allocator<boost::shared_ptr<const Effect::EffectsGroup> > >, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<ItemSpec, std::allocator<ItemSpec> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, phoenix::actor<phoenix::argument<0> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t> > > > >, boost::spirit::chlit<char> > >]’:
/home/rick/freeorion/FreeOrion/universe/Tech.h:87: warning: dereferencing pointer ‘val’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
/home/rick/freeorion/FreeOrion/universe/Tech.h:87: warning: dereferencing pointer ‘val’ does break strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: Error compiling FreeOrion (build 3260)...

#11 Post by OndrejR » Fri Jan 15, 2010 8:21 pm

If you are using boost 1.39 or later, then there is bug in debian and probably also in ubuntu because there is missing symlink:

Code: Select all

/usr/lib/libboost_python-mt.so
so to fix(under root in debian or use "sudo" under ubuntu):

Code: Select all

cd /usr/lib
(sudo) ln -s libboost_python-mt-py25.so libboost_python-mt.so

Post Reply