New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build wangle encountered error: error: use of undeclared identifier 'malloc_usable_size' #65
Comments
Yes I am getting the same issue. /git/wangle/wangle/concurrent/ThreadPoolExecutor.cpp:68:58: required from here |
It turns out it has something to do with jemalloc. |
Thanks @mohnishkodnani , after I removed jemalloc, it works now. |
It still not work after i removed jemalloc from my system(OSX 10.12). |
I am having problem with this too. Installed folly with homebrew, got back luck with small_vector.h. |
I got the same problem. No difference with removing jemalloc, installing folly by homebrew / compiling source in macOS 10.12.1. |
I am getting the same issue. |
folly/portability/Malloc.cpp provides a defintion for malloc_usable_size for apple platforms. Can you check why that code is not being executed on your platform (e.g., put a #error "check") inside the APPLE guard. |
@anirudhvr I was able to resolve this issue using @mohnishkodnani method.
|
When I tried to build wangle, it reported:
In file included from /project/opensource/source/wangle/wangle/../wangle/concurrent/ThreadPoolExecutor.h:19:
In file included from /project/opensource/source/wangle/wangle/../wangle/deprecated/rx/Observable.h:20:
/usr/local/include/folly/small_vector.h:619:14: error: use of undeclared identifier 'malloc_usable_size'
return malloc_usable_size(u.pdata_.heap_) / sizeof(value_type);
I've built "folly" successfully, did anyone encounter the same issue?
Thanks!
The text was updated successfully, but these errors were encountered: