Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio and C++0x
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2011-06-23 15:31:54

I seem to remember that '#define BOOST_SYSTEM_NO_DEPRECATED' fixed the
system-related errors for me under GCC via MinGW-w64 on Windows. Not sure
about the pthread related errors.

Not positive that will work btw, but it's worth a try.

On Fri, Jun 24, 2011 at 4:04 AM, Wilde, Donald S

> Hi, All -
> I am having some challenges mixing boost and c++0x.
> My configuration:
> Ubuntu 10.04, gcc 4.4.3, boost 1.46.1
> I've updated the libraries and headers from Ubuntu's stock boost 1.40
> level, and I've tried bjam with and without 'toolset=gcc
> cxxflags=-std=c++0x'
> Either way, my Eclipse reports several errors in the external libraries:
> Undefined references to boost::system::generic_category()
> Undefined references to boost::system::system_category() (both from system
> and asio error headers)
> Undefined references to pthread_key_create and pthread_key_delete from
> asio/detail headers
> { apologies for not giving specific error details but it'd have to come
> from a screen shot and that's not appreciated on a mailing list }
> I do have access to gcc 4.5.1, but it's a custom one for our embedded
> Atom-based SoC. That is the eventual target, but I haven't seen how to use a
> specific g++ binary yet.
> I did see a bug tracker post in one of my google searches but I haven't
> been able to get back to it. I understand that this is a known issue and a
> moving target but I would appreciate it if someone would summarize the
> current state for me.
> Thanks in advance!
> -- Don Wilde
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at