Skip to content
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

where can i find hphp/runtime/base/base-includes.h (hhvm 3.7) #5262

Closed
ja66erw0ck opened this issue May 7, 2015 · 6 comments
Closed

where can i find hphp/runtime/base/base-includes.h (hhvm 3.7) #5262

ja66erw0ck opened this issue May 7, 2015 · 6 comments
Labels

Comments

@ja66erw0ck
Copy link

after update hhvm version 3.6 to 3.7
when i rebuild msg-pack extension.
then i got this error :(

[ 12%] Building CXX object deps/msgpack/CMakeFiles/msgpack-c.dir/gcc_atomic.cpp.o
[ 25%] Building CXX object deps/msgpack/CMakeFiles/msgpack-c.dir/object.cpp.o
[ 37%] Building C object deps/msgpack/CMakeFiles/msgpack-c.dir/objectc.c.o
[ 50%] Building C object deps/msgpack/CMakeFiles/msgpack-c.dir/unpack.c.o
[ 62%] Building C object deps/msgpack/CMakeFiles/msgpack-c.dir/vrefbuffer.c.o
[ 75%] Building C object deps/msgpack/CMakeFiles/msgpack-c.dir/zone.c.o
[ 87%] Building C object deps/msgpack/CMakeFiles/msgpack-c.dir/version.c.o
Linking CXX static library libmsgpack-c.a
[ 87%] Built target msgpack-c
Scanning dependencies of target msgpack
[100%] Building CXX object CMakeFiles/msgpack.dir/ext_msgpack.cpp.o
/home/xsum/work/drizzt/msgpack-hhvm/ext_msgpack.cpp:17:45: fatal error: hphp/runtime/base/base-includes.h: No such file or directory
#include "hphp/runtime/base/base-includes.h"
^
compilation terminated.
make[2]: *** [CMakeFiles/msgpack.dir/ext_msgpack.cpp.o] Error 1
make[1]: *** [CMakeFiles/msgpack.dir/all] Error 2
make: *** [all] Error 2

there is no base-includes.h in /usr/include/hphp
i use reeze's msgpack-hhvm (https://github.com/reeze/msgpack-hhvm)

please help me

@SiebelsTim
Copy link
Contributor

See 91e07b9

You should be able to replace it with ext/extension.h

\cc @reeze

@reeze
Copy link
Contributor

reeze commented May 7, 2015

Thanks @SiebelsTim
This related to reeze/msgpack-hhvm#3 I will fix that soon. this could be closed since it is an external issue.

@ja66erw0ck
Copy link
Author

Thanks :)

@ghost
Copy link

ghost commented Jan 12, 2017

When I replace base-includes.h with extension.h I impacted a error with g_context->write() like this:
"error: ‘g_context’ was not declared in this scope g_context->write("abc");". Can someone help me how to fix this error or use another way for writing text.

@paulbiss
Copy link
Contributor

You need to include hphp/runtime/base/execution-context.h if you want to use g_context

@ghost
Copy link

ghost commented Jan 13, 2017

@paulbiss Thanks for your helping. Can you tell me where I can find hhvm reference?
Thanks in advanced!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants