exception_ptr is part of C++11 but not used in boost.coroutine (and the fcontext-API of boost.context) -
you could apply -std=c++11(cxxflags) or check why C++11 code is used