|
Boost : |
Subject: Re: [boost] Building boost against uClibc on arm machine
From: Piotr Borys (piotr.borys_at_[hidden])
Date: 2009-06-28 06:06:47
2009/6/27 Vladimir Prus <vladimir_at_[hidden]>
> > --------------------------------
> > 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...
>
> I think so. get_nprocs is a gnu extension to C runtime. Since it's fairly
> obvious
> oversight, I've checked in the below patch -- can you see if that helps?
>
>
libboost-thread is built! :) There're many other places though, where it
was complaining about that. Now I have to test if both system and thread
libs are working ok - and my test is boost::asio ;) will report....
thanks a lot and 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