Boost logo

Boost Users :

Subject: [Boost-users] boost::asio and C++0x
From: Wilde, Donald S (donald.s.wilde_at_[hidden])
Date: 2011-06-23 14:04:28


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net