boost thread & get_nproc
Lipp, Gerhard
Gerhard.Lipp at hbm.com
Mon Jun 21 14:57:00 UTC 2010
hello!
i am trying to get the boost.thread 1.43 lib running, using buildroot
with uclibc 0.9.31 configured.
when building bjam from within buildroot env, the compiler complains
about an undeclared get_nprocs function, which is ifdefed by _GNU_SOURCE
(file: boost/libs/thread/src/pthread/thread.cpp, method
boost::thread::hardware_concurrency).
afaik, get_nprocs is not part of the libc standard and thus not
implemented in uclibc up to now. apparently one could implement
boost::thread::hardware_concurrency with means of sysinfo, but it seems
this isnt implemented either.
i would appreciate any help!
regards,
gerhard
Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt, Germany | www.hbm.com
Registered as GmbH (German limited liability corporation) in the commercial register at the local court of Darmstadt, HRB 1147
Company domiciled in Darmstadt | CEO: Andreas Huellhorst | Chairman of the board: James Charles Webster
Als Gesellschaft mit beschraenkter Haftung eingetragen im Handelsregister des Amtsgerichts Darmstadt unter HRB 1147
Sitz der Gesellschaft: Darmstadt | Geschaeftsfuehrung: Andreas Huellhorst | Aufsichtsratsvorsitzender: James Charles Webster
The information in this email is confidential. It is intended solely for the addressee. If you are not the intended recipient, please let me know and delete this email.
Die in dieser E-Mail enthaltene Information ist vertraulich und lediglich fur den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, informieren Sie mich bitte kurz und loeschen diese E-Mail.
-------------- next part --------------
hello!
i am trying to get the boost.thread 1.43 lib running, using buildroot
with uclibc 0.9.31 configured.
when building bjam from within buildroot env, the compiler complains
about an undeclared get_nprocs function, which is ifdefed by
_GNU_SOURCE (file: boost/libs/thread/src/pthread/thread.cpp, method
boost::thread::hardware_concurrency).
afaik, get_nprocs is not part of the libc standard and thus not
implemented in uclibc up to now. apparently one could implement
boost::thread::hardware_concurrency with means of sysinfo, but it seems
this isnt implemented either.
i would appreciate any help!
regards,
gerhard
[1][cid:hbm60years.png]
Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt,
Germany | www.hbm.com
Registered as GmbH (German limited liability corporation) in the
commercial register at the local court of Darmstadt, HRB 1147
Company domiciled in Darmstadt | CEO: Andreas Hüllhorst | Chairman of
the board: James Charles Webster
Als Gesellschaft mit beschränkter Haftung eingetragen im
Handelsregister des Amtsgerichts Darmstadt unter HRB 1147
Sitz der Gesellschaft: Darmstadt | Geschäftsführung: Andreas Hüllhorst
| Aufsichtsratsvorsitzender: James Charles Webster
The information in this email is confidential. It is intended solely
for the addressee. If you are not the intended recipient, please let me
know and delete this email.
Die in dieser E-Mail enthaltene Information ist vertraulich und
lediglich für den Empfänger bestimmt. Sollten Sie nicht der eigentliche
Empfänger sein, informieren Sie mich bitte kurz und löschen diese
E-Mail.
References
1. http://www.hbm.com/de/menu/ueber-uns/firmenportrait/60-jahre-hbm/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hbm60years.png
Type: image/png
Size: 16113 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20100621/d0d8d6f6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HBM60years.png
Type: image/png
Size: 16113 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20100621/d0d8d6f6/attachment-0003.png>
More information about the uClibc
mailing list