hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

error during make

Open diegoIta opened this issue 16 years ago • 1 comments

hi everybody first of all i wanna sorry for my bad english. i was using hiphop because i need it for my university final thesis. i followed the instructions but when i make the last instruction (make) i have a problem and i don't know how i can resolve that. this is the error that i have find:

diego@diego-laptop:~/hiphop/hiphop-php$ make [ 0%] Built target sqlite3 [ 2%] Built target xhp [ 3%] Built target timelib [ 16%] Built target mbfl [ 16%] Built target afdt [ 16%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/util/stack_trace.cpp.o In file included from /usr/include/fcntl.h:205, from /home/diego/hiphop/hiphop-php/src/util/stack_trace.cpp:31: In function ‘int open(const char_, int, ...)’, inlined from ‘void HPHP::StackTraceNoHeap::log(const char_, const char_, const char_) const’ at /home/diego/hiphop/hiphop-php/src/util/stack_trace.cpp:273: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/util/stack_trace.cpp.o] Errore 1 make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Errore 2 make: *** [all] Errore 2

have you have some ideas for resolve that?

thanks everybody

Diego

diegoIta avatar Jul 20 '10 15:07 diegoIta

Fixed in f55604ba3d916ab39354af67852583ec79038710

scottmac avatar Jul 20 '10 19:07 scottmac