This is a problem with the packaged boost headers - they don't seem to compile on Linux under gcc 4.x. I've attached a patch for the libraries/include/boost/coroutine/detail/{coroutine_impl.hpp,posix_utility.hpp} files that should get you going in the short term.
Ultimately though we should build a new version of the boost package with that patch applied to it. Filing a JIRA to track this would be great. Cheers, Lynx. On Thu, Apr 8, 2010 at 2:22 AM, Dzonatas Sol <dzona...@gmail.com> wrote: > I just checked out revision 3313 from > https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/trunk > > After plain ./develop.py with no options , i got an error > > $ make > [ 0%] Built target cmake > [ 0%] Built target llaudio > [ 3%] Built target stage_third_party_libs > [ 3%] Built target llcommon_tests > [ 3%] Building CXX object llcommon/CMakeFiles/llcommon.dir/llcoros.o > In file included from > /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/coroutine.hpp:44, > from > /home/dzonatas/workspace/snowglobe.2.0/indra/llcommon/llcoros.h:39, > from > /home/dzonatas/workspace/snowglobe.2.0/indra/llcommon/llcoros.cpp:39: > /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/detail/coroutine_impl.hpp:59: > error: declaration of 'typedef class > boost::coroutines::detail::context_base<ContextImpl> > boost::coroutines::detail::coroutine_impl<CoroutineType, > ContextImpl>::context_base' > /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/detail/context_base.hpp:55: > error: changes meaning of 'context_base' from 'class > boost::coroutines::detail::context_base<ContextImpl>' > make[2]: *** [llcommon/CMakeFiles/llcommon.dir/llcoros.o] Error 1 > make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2 > make: *** [all] Error 2 > > > Haven't fully tracked this one down, so didn't file a jira. > > > Philippe (Merov) Bossut wrote: >> Hi all, >> >> Yes, there were a bunch of missed added files and other issues that >> actually made the repository not complete, and therefore, not >> buildable. I did a serie of commits today to fix that. I've been able >> to build on Mac and Windows at least. >> >> Now, I'm still working on fixing the opensrc-build.sh script which is >> used to produced the binaries. I hope to get build to pass on >> Parabuild for Mac and Windows shortly. >> >> Thanks for your patience. >> >> Cheers, >> - Merov >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Policies and (un)subscribe information available here: >> http://wiki.secondlife.com/wiki/OpenSource-Dev >> Please read the policies before posting to keep unmoderated posting >> privileges > > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting privileges >
diff -u -r old/boost/coroutine/detail/coroutine_impl.hpp new/boost/coroutine/detail/coroutine_impl.hpp --- old/boost/coroutine/detail/coroutine_impl.hpp 2009-10-20 17:10:02.000000000 +0100 +++ new/boost/coroutine/detail/coroutine_impl.hpp 2009-10-20 19:22:11.000000000 +0100 @@ -56,7 +56,7 @@ typedef ContextImpl context_impl; typedef CoroutineType coroutine_type; typedef coroutine_impl<coroutine_type, context_impl> type; - typedef context_base<context_impl> context_base; + typedef context_base<context_impl> context_base_type; typedef typename coroutine_type::arg_slot_type arg_slot_type; typedef typename coroutine_type::result_type result_type; typedef typename coroutine_type::result_slot_type result_slot_type; @@ -65,7 +65,7 @@ template<typename DerivedType> coroutine_impl(DerivedType * this_, std::ptrdiff_t stack_size) : - context_base(*this_, stack_size), + context_base_type(*this_, stack_size), m_arg(0), m_result(0){} diff -u -r old/boost/coroutine/detail/posix_utility.hpp new/boost/coroutine/detail/posix_utility.hpp --- old/boost/coroutine/detail/posix_utility.hpp 2009-04-24 21:30:44.000000000 +0100 +++ new/boost/coroutine/detail/posix_utility.hpp 2009-10-20 19:21:27.000000000 +0100 @@ -39,6 +39,7 @@ #include <cstddef> #include <cstdlib> #include <iostream> +#include <cstring> #include <boost/type_traits.hpp> #if defined(_POSIX_MAPPED_FILES) && _POSIX_MAPPED_FILES > 0 #include <sys/mman.h>
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges