>>>>> "Gerhard" == Lipp, Gerhard <[email protected]> writes:
Hi, Gerhard> i am trying to get the boost.thread 1.43 lib running, using buildroot Gerhard> with uclibc 0.9.31 configured. Gerhard> when building bjam from within buildroot env, the compiler complains Gerhard> about an undeclared get_nprocs function, which is ifdefed by _GNU_SOURCE Gerhard> (file: boost/libs/thread/src/pthread/thread.cpp, method Gerhard> boost::thread::hardware_concurrency). Gerhard> afaik, get_nprocs is not part of the libc standard and thus not Gerhard> implemented in uclibc up to now. apparently one could implement Gerhard> boost::thread::hardware_concurrency with means of sysinfo, but it seems Gerhard> this isnt implemented either. Yes, get_nprocs() is a GNU extension. You can use sysinfo(_SC_PROCESSORS_CONF); instead like I did for squashfs last week: http://git.buildroot.net/buildroot/tree/package/squashfs/squashfs-4.0-mksquashfs-get_nprocs.patch Don't forget to send the boost support to the BR list once you get it working. -- Bye, Peter Korsgaard _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
