Comments (7)
After brew link openssl --force i get another error
./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
from redex.
Yep, same as @holoduke here
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/local/include -std=gnu++0x -g -O2 -MT portability/Malloc.lo -MD -MP -MF portability/.deps/Malloc.Tpo -c portability/Malloc.cpp -fno-common -DPIC -o portability/.libs/Malloc.o
In file included from portability/Malloc.cpp:17:
./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
^
1 error generated.
make[4]: *** [portability/Malloc.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from redex.
Turns out that, using Homebrew openssl, one must brew link openssl --force
in order for headers to be seen by make.
from redex.
Thanks for the PR! Apparently folly sprouted an openssl dependence and I didn't notice since it was already on my machine :-).
from redex.
You're welcome! I was surprised, I thought I already had those headers in place, too.
I guess a "better" solution than brew link
might be to provide some path to ./configure
, but it's beyond my experience to say positively. What do you think is the right way to handle the openssl dependency on OS X?
from redex.
You're probably right that a ./configure parameter would be ideal here. I'm inclined to simply recommend brew link, just for simplicity's sake. But if someone wanted to figure out how to make configure work, I'd be happy!
from redex.
@cesarferreira the solution is mentioned in #8
from redex.
Related Issues (20)
- run autoreconf -ivf && ./configure && make failed HOT 3
- run autoreconf -ivf && ./configure && make failed HOT 5
- ExitCode::exception /redex/libredex/ControlFlow.h:1375 HOT 2
- run autoreconf -ivf && ./configure && make error on mac os HOT 2
- run IRTypeChecker (run_verifier) failed HOT 4
- run IRTypeChecker (run_verifier) failed #808 HOT 3
- Mac OS M1 Build failed. HOT 1
- run IRTypeChecker failed HOT 1
- run pass after apk become larger 2.7M
- Is there any advice to recover crash stack trace line number in android firebase platform after use "StripDebugInfoPass"? HOT 2
- make failed. HOT 2
- Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT
- Sample Android Redex APK Crashing: android.view.InflateException: Error inflating class com.google.android.material.textfield.TextInputLayout HOT 3
- how to write a pass
- is there any plan support dex 39 HOT 1
- AAB release error: [DexMember = DexClass]: assertion `elems.size() == 1' failed HOT 1
- ZipManager did not unpack expected number of files; is this a case insensitive file system? Potentially conflicting files HOT 1
- UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 1374: illegal multibyte sequence HOT 1
- 037 for support_dex_version 35 HOT 1
- VirtualScope.cpp:893: void virt_scope::ClassScopes::build_interface_scopes(): assertion `!scopes.empty()' failed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redex.