compilation of TBB
#1
Fri, 2015-06-26 13:29
aliczar
-
- Offline
- 2 years 9 months ago
- 2015-06-26
Hello.
I have a trouble with compilation of tbb library
https://www.threadingbuildingblocks.org/
Could someone help me, because of that i not familiar with compilation proccess and C-code at all.
I got exception
../../src/tbbmalloc/proxy.cpp:188:26: error: return type 'struct mallinfo' is incomplete
struct mallinfo mallinfo() __THROW
^
../../src/tbbmalloc/proxy.cpp:190:21: error: aggregate 'mallinfo m' has incomplete type and cannot be defined
struct mallinfo m;
^
../../src/tbbmalloc/proxy.cpp:191:41: error: invalid application of 'sizeof' to incomplete type 'mallinfo'
memset(&m, 0, sizeof(struct mallinfo));
^
../../build/Makefile.tbbmalloc:66: recipe for target 'proxy.o' failedbut i am not sure is that because of tbb code or alpine...
Thank you.
Musl does not provide mallinfo, you will have to patch/remove it.