|
Boost : |
Subject: Re: [boost] [context] build issue with context-0.3.5
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2011-01-17 02:36:42
Hello Charles,
I don't get errors if I exec 'bjam -a toolset=gcc cxxflags=-std=c++0x architecture=x86 instruction-set=i686 --with-context' in <boost-root>.
My system: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
gcc: 4.4.5
What system are you driving?
What happens if you call 'bjam -a toolset=gcc cxxflags=-std=c++0x --with-context' (which works for me too).
Oliver
-------- Original-Nachricht --------
> Datum: Sun, 16 Jan 2011 14:28:30 -0800 (PST)
> Von: Charlls Quarra <charlls_quarra_at_[hidden]>
> An: boost_at_[hidden]
> Betreff: [boost] [context] build issue with context-0.3.5
>
>
> Hi Oliver,
>
> First of all, thanks for updating your context library. I might be wrong,
> but i think yours is currently the only supported coroutine library for
> c++ which is a candidate for boost. So kudos to you for that effort that you
> are doing.
>
>
> I'm having a build error on the 0.3.5; (this is on ubuntu linux x86
> platform)
>
> $ bjam -a -toolset=gcc cxxflags=-std=c++0x architecture=x86
> instruction-set=i686 --with-context
> nBuilding the Boost C++ Libraries.nn
> ...patience...
> ...found 230 targets...
> ...updating 8 targets...
> gcc.compile.c++
> bin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi/context_uc_posix.o
> In file included from libs/context/src/context_uc_posix.cpp:9:
> ./boost/context/context.hpp:24: error: variable
> âboost::contexts::BOOST_SYMBOL_EXPORT boost::contexts::contextâ has initializer but incomplete
> type
> ./boost/context/context.hpp:26: error: expected primary-expression before
> âprivateâ
> ./boost/context/context.hpp:26: error: expected â}â before
> âprivateâ
> ./boost/context/context.hpp:26: error: expected â,â or â;â before
> âprivateâ
> ./boost/context/context.hpp:27: error: expected unqualified-id before
> âprivateâ
> ./boost/context/context.hpp:27: error: expected constructor, destructor,
> or type conversion before â&â token
> ./boost/context/context.hpp:32: error: expected constructor, destructor,
> or type conversion before â;â token
> ./boost/context/context.hpp:34: error: expected unqualified-id before
> âpublicâ
> ./boost/context/context.hpp:41: error: typedef
> âboost::contexts::unspecified_bool_typeâ is initialized (use decltype instead)
> ./boost/context/context.hpp:41: error: expected primary-expression before
> â)â token
> ./boost/context/context.hpp:45: error: variable or field
> âunspecified_boolâ declared void
> ./boost/context/context.hpp:45: error: expected primary-expression before
> â)â token
> ./boost/context/context.hpp:47: error: âcontextâ does not name a type
> ./boost/context/context.hpp:49: error: âcontextâ does not name a type
> ./boost/context/context.hpp:52: error: âcontextâ does not name a type
> ./boost/context/context.hpp:55: error: expected constructor, destructor,
> or type conversion before â;â token
> ./boost/context/context.hpp:57: error: expected class-name before â(â
> token
> ./boost/context/context.hpp:59: error: expected constructor, destructor,
> or type conversion before â(â token
> ./boost/context/context.hpp:61: error: expected constructor, destructor,
> or type conversion before â&â token
> ./boost/context/context.hpp:63: error: variable or field âjump_toâ
> declared void
> ./boost/context/context.hpp:63: error: âotherâ was not declared in
> this scope
> ./boost/context/context.hpp:65: error: variable or field âswapâ
> declared void
> ./boost/context/context.hpp:65: error: âotherâ was not declared in
> this scope
> ./boost/context/context.hpp:67: error: non-member function âbool
> boost::contexts::operator!()â cannot have cv-qualifier
> ./boost/context/context.hpp:67: error: âbool
> boost::contexts::operator!()â must have an argument of class or enumerated type
> ./boost/context/context.hpp:69: error: expected type-specifier before
> âunspecified_bool_typeâ
> ./boost/context/context.hpp:73: error: variable or field âswapâ
> declared void
> ./boost/context/context.hpp:73: error: âcontextâ was not declared in
> this scope
> ./boost/context/context.hpp:73: error: âlâ was not declared in this
> scope
> ./boost/context/context.hpp:73: error: âcontextâ was not declared in
> this scope
> ./boost/context/context.hpp:73: error: ârâ was not declared in this
> scope
> ./boost/context/context.hpp:78: error: âcontextsâ has not been
> declared
> ./boost/context/context.hpp:80: error: expected declaration before â}â
> token
> ./boost/context/context.hpp:43: warning:
> âboost::contexts::default_stacksizeâ defined but not used
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -march=i686 -pthread -fPIC -std=c++0x -DBOOST_ALL_NO_LIB=1
> -DBOOST_CONTEXT_DYN_LINK=1 -DNDEBUG -I"." -c -o
> "bin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi/context_uc_posix.o"
> "libs/context/src/context_uc_posix.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi/context_uc_posix.o...
> ...skipped
> <pbin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi>libboost_context.so.1.43.0 for lack of
> <pbin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi>context_uc_posix.o...
> ...skipped <pstage/lib>libboost_context.so.1.43.0 for lack of
> <pbin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/threading-multi>libboost_context.so.1.43.0...
> ...skipped <pstage/lib>libboost_context.so for lack of
> <pstage/lib>libboost_context.so.1.43.0...
> gcc.compile.c++
> bin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/link-static/threading-multi/context_uc_posix.o
> gcc.archive
> bin.v2/libs/context/build/gcc-4.4.5/release/architecture-x86/instruction-set-i686/link-static/threading-multi/libboost_context.a
> common.copy stage/lib/libboost_context.a
> ...failed updating 1 target...
> ...skipped 3 targets...
> ...updated 4 targets...
>
>
>
> - Charles Quarra
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
-- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk