Boost logo

Boost :

Subject: [boost] Building boost against uClibc on arm machine
From: Piotr Borys (piotr.borys_at_[hidden])
Date: 2009-06-26 10:16:34


Hello all.

I'm trying to cross-compile boost for arm machine running linux with uClibc.
Most of the libs are built ok, but some of them (including one of the most
important to me: thread) failed.

One of the mesgs was:

--------------------------------
gcc.compile.c++
bin.v2/libs/thread/build/gcc-4.3.2/debug/threading-multi/pthread/thread.o
libs/thread/src/pthread/thread.cpp: In static member function 'static
unsigned int boost::thread::hardware_concurrency()':
libs/thread/src/pthread/thread.cpp:394: error: 'get_nprocs' was not declared
in this scope
--------------------------------

and somehow I'm afraid this is related to uClibc...

some facts:
Boost 1.39.0
G++ 4.3.2 (cross sysrooted compiler)

Any help what I can take a look on?

cheers

-- 
Piotr "utak3r" Borys
http://utak3r.pl

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk