Hi,
On Mon, Jan 11, 2010 at 11:02:41AM +0100, Petr Salinger wrote:
>
> >>>The code in question is:
> >>>
> >>> unsigned thread::hardware_concurrency()
> >>> {
> >>>#if defined(PTW32_VERSION) || defined(__hpux)
> >>> return pthread_num_processors_np();
> >>>#elif defined(_GNU_SOURCE)
> >>> return get_nprocs();
> >>
> >>It seems that get_nprocs() is always implemented by Glibc. Worst-case it'd
> >>be a dummy stub. I'd just try to figure out why <sys/sysinfo.h> is not
> >>included or not providing its declaration.
[...]
> Please use patch bellow - build tested on kfreebsd-amd64.
>
> Thanks for noticing us about GNU/kFreeBSD specific problem.
Thanks to all who contributed to this thread. I ended up
using Petr's patch in Boost 1.41.0-2, which I'm pleased to
say builds now on all architectures including kFreeBSD.
Cheers!
-Steve
Attachment:
signature.asc
Description: Digital signature