hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

hphp failed

Open burek opened this issue 15 years ago • 22 comments

--- COPY BEGIN --- [ 87%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/analysis/control_flow.cpp.o [ 87%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/analysis/type.cpp.o [ 87%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/util/jump_table.cpp.o [ 87%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o [ 88%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o Linking CXX static library ../../bin/libhphp_analysis.a [ 88%] Built target hphp_analysis [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/externals.cpp.o Linking CXX executable hphp Building hphpi hphp failed make[2]: *** [src/hphp/hphp] Error 255 make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2 make: *** [all] Error 2 --- COPY END ---

Hi, I've got this error while following the Wiki instruction to install hiphop on Debian squeeze (32bit) Please help.

burek avatar Aug 03 '11 10:08 burek

On Debian squeeze 64bit, also the same problem:

uname -a

Linux video2 2.6.39-2-amd64 #1 SMP Wed Jun 8 11:01:04 UTC 2011 x86_64 GNU/Linux

...

[ 88%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o Linking CXX static library ../../bin/libhphp_analysis.a [ 88%] Built target hphp_analysis Scanning dependencies of target hphp [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/externals.cpp.o [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o Linking CXX executable hphp Building hphpi Segmentation fault make[2]: *** [src/hphp/hphp] Error 139 make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2 make: *** [all] Error 2

burek avatar Aug 03 '11 13:08 burek

same here.

pjjw avatar Aug 08 '11 01:08 pjjw

Debian, same problem Linux suzrik 2.6.32-5-amd64 #1 SMP Mon Jun 13 05:49:32 UTC 2011 x86_64 GNU/Linux

suzrik avatar Aug 10 '11 05:08 suzrik

retraction on my part; was running on a 32 bit host- didn't notice that wasn't supported. 64-bit host works fine for me.

pjjw avatar Aug 10 '11 06:08 pjjw

pjjw, i have debian x86_64, but the problem is the same. what os do you use?

suzrik avatar Aug 10 '11 07:08 suzrik

I compile HipHop on Ubuntu 11,04 x64 and it's good working. HH don't working on x32 machines. Authors trying to rewrite codes from x64 to x32.

nitro2010-zz avatar Aug 12 '11 19:08 nitro2010-zz

"On Debian squeeze 64bit, also the same problem"

burek avatar Aug 12 '11 22:08 burek

same here on ubuntu 10.10 (32 bit) :

[ 88%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o Linking CXX static library ../../bin/libhphp_analysis.a [ 88%] Built target hphp_analysis Scanning dependencies of target hphp [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o Linking CXX executable hphp Building hphpi hphp failed make[2]: *** [src/hphp/hphp] Error 255 make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2 make: *** [all] Error 2

radityopw avatar Aug 14 '11 14:08 radityopw

@radityopw

Are you at all you read the comments and documentation? After I wrote that HipHop runs only on x64 machines! So what you are building on x32-bit machine.

@burek

Do you export these variables?

export HPHP_HOME=pwd export HPHP_LIB=pwd/bin export CMAKE_PREFIX_PATH=/bin/pwd/../

Because this variables destroy after shutdown machine, better export these vars to .bashrc

go to the directory of HH

in console write these lines:

echo export HPHP_HOME=pwd >> ~/.bashrc echo export HPHP_LIB=pwd/bin >> ~/.bashrc echo export CMAKE_PREFIX_PATH=/bin/pwd/../ >> ~/.bashrc echo alias hphp=pwd/src/hphp/hphp >> ~/.bashrc

Last line allow you compile code over: hphp [php code]

Restart machine and try compile code again

nitro2010-zz avatar Aug 14 '11 16:08 nitro2010-zz

nitro2010, you too could read a little bit what others are writing, because we are also using 64bit machines.. also, I did export those variables, but still the error appears and documentation doesn't say anything about tracking down the error and how to debug the error ourselves..

burek avatar Aug 14 '11 16:08 burek

Really? Only I did as instructed and my work and you do not ;p

nitro2010-zz avatar Aug 14 '11 18:08 nitro2010-zz

@nitro2010

owh sorry my bad... hope that 32 bit will ready too.. thanks

radityopw avatar Aug 15 '11 00:08 radityopw

I do have this issue to with Ubuntu 11.04 64-Bit. This is the command:

cd /home/oliver/hiphop/hiphop-php/src/hphp && /usr/bin/cmake -E cmake_link_script CMakeFiles/hphp.dir/link.txt --verbose=1
/usr/bin/c++   -fno-gcse -fno-omit-frame-pointer -ftemplate-depth-60 -Wall -Woverloaded-virtual -Wno-deprecated -Wno-parentheses -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -fno-operator-names -O3   CMakeFiles/hphp.dir/main.cpp.o CMakeFiles/hphp.dir/externals.cpp.o  -o hphp -rdynamic -ldl ../../bin/libhphp_analysis.a ../../bin/libhphp_runtime.a -ltcmalloc_minimal -lboost_system -lboost_program_options -lboost_filesystem -lmysqlclient_r -lpcre -licuuc -licui18n /home/oliver/hiphop/lib/libcurl.so -lcap -lresolv -ldl -lbfd -Wl,-Bstatic -liberty -Wl,-Bdynamic -lpthread -ltbb -lssl -lcrypto -lz -lbz2 -lxml2 -lexpat -lonig -lmcrypt -lgd -lldap -llber -lmemcached -lcrypt -lrt ../../bin/libtimelib.a ../../bin/libsqlite3.a ../../bin/libxhp.a ../../bin/libafdt.a /home/oliver/hiphop/lib/libevent.so ../../bin/libmbfl.a -lreadline -lncurses -lc-client -lpam -Wl,-rpath,/home/oliver/hiphop/lib

And it fails with:

Linking CXX executable hphp
../../bin/libhphp_runtime.a(debugger_proxy.cpp.o): In function `HPHP::Eval::DebuggerProxy::checkJumpFlowBreak(HPHP::Eval::CmdInterrupt&)':
debugger_proxy.cpp:(.text+0x36e8): undefined reference to `HPHP::Eval::CmdJump::match(HPHP::Eval::InterruptSite*)'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `HPHP::Eval::DebuggerCommand::Receive(HPHP::DebuggerThriftBuffer&, boost::shared_ptr<HPHP::Eval::DebuggerCommand>&, char const*)':
debugger_command.cpp:(.text+0x77f): undefined reference to `vtable for HPHP::Eval::CmdContinue'
debugger_command.cpp:(.text+0x9dc): undefined reference to `vtable for HPHP::Eval::CmdGlobal'
debugger_command.cpp:(.text+0x101d): undefined reference to `vtable for HPHP::Eval::CmdException'
debugger_command.cpp:(.text+0x165d): undefined reference to `vtable for HPHP::Eval::CmdBreak'
debugger_command.cpp:(.text+0x1c85): undefined reference to `vtable for HPHP::Eval::CmdNext'
debugger_command.cpp:(.text+0x1d9d): undefined reference to `vtable for HPHP::Eval::CmdJump'
debugger_command.cpp:(.text+0x1fbd): undefined reference to `vtable for HPHP::Eval::CmdPrint'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `boost::detail::sp_counted_impl_p<HPHP::Eval::CmdJump>::dispose()':
debugger_command.cpp:(.text._ZN5boost6detail17sp_counted_impl_pIN4HPHP4Eval7CmdJumpEE7disposeEv[boost::detail::sp_counted_impl_p<HPHP::Eval::CmdJump>::dispose()]+0x21): undefined reference to `vtable for HPHP::Eval::CmdJump'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `boost::detail::sp_counted_impl_p<HPHP::Eval::CmdGlobal>::dispose()':
debugger_command.cpp:(.text._ZN5boost6detail17sp_counted_impl_pIN4HPHP4Eval9CmdGlobalEE7disposeEv[boost::detail::sp_counted_impl_p<HPHP::Eval::CmdGlobal>::dispose()]+0x19): undefined reference to `vtable for HPHP::Eval::CmdGlobal'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `boost::detail::sp_counted_impl_p<HPHP::Eval::CmdException>::dispose()':
debugger_command.cpp:(.text._ZN5boost6detail17sp_counted_impl_pIN4HPHP4Eval12CmdExceptionEE7disposeEv[boost::detail::sp_counted_impl_p<HPHP::Eval::CmdException>::dispose()]+0x2a): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `boost::detail::sp_counted_impl_p<HPHP::Eval::CmdBreak>::dispose()':
debugger_command.cpp:(.text._ZN5boost6detail17sp_counted_impl_pIN4HPHP4Eval8CmdBreakEE7disposeEv[boost::detail::sp_counted_impl_p<HPHP::Eval::CmdBreak>::dispose()]+0x2a): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `boost::detail::sp_counted_impl_p<HPHP::Eval::CmdPrint>::dispose()':
debugger_command.cpp:(.text._ZN5boost6detail17sp_counted_impl_pIN4HPHP4Eval8CmdPrintEE7disposeEv[boost::detail::sp_counted_impl_p<HPHP::Eval::CmdPrint>::dispose()]+0x19): undefined reference to `vtable for HPHP::Eval::CmdPrint'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `void boost::checked_delete<HPHP::Eval::CmdBreak>(HPHP::Eval::CmdBreak*)':
debugger_command.cpp:(.text._ZN5boost14checked_deleteIN4HPHP4Eval8CmdBreakEEEvPT_[void boost::checked_delete<HPHP::Eval::CmdBreak>(HPHP::Eval::CmdBreak*)]+0x28): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `void boost::checked_delete<HPHP::Eval::CmdException>(HPHP::Eval::CmdException*)':
debugger_command.cpp:(.text._ZN5boost14checked_deleteIN4HPHP4Eval12CmdExceptionEEEvPT_[void boost::checked_delete<HPHP::Eval::CmdException>(HPHP::Eval::CmdException*)]+0x28): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `void boost::checked_delete<HPHP::Eval::CmdGlobal>(HPHP::Eval::CmdGlobal*)':
debugger_command.cpp:(.text._ZN5boost14checked_deleteIN4HPHP4Eval9CmdGlobalEEEvPT_[void boost::checked_delete<HPHP::Eval::CmdGlobal>(HPHP::Eval::CmdGlobal*)]+0x14): undefined reference to `vtable for HPHP::Eval::CmdGlobal'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `void boost::checked_delete<HPHP::Eval::CmdJump>(HPHP::Eval::CmdJump*)':
debugger_command.cpp:(.text._ZN5boost14checked_deleteIN4HPHP4Eval7CmdJumpEEEvPT_[void boost::checked_delete<HPHP::Eval::CmdJump>(HPHP::Eval::CmdJump*)]+0x1f): undefined reference to `vtable for HPHP::Eval::CmdJump'
../../bin/libhphp_runtime.a(debugger_command.cpp.o): In function `void boost::checked_delete<HPHP::Eval::CmdPrint>(HPHP::Eval::CmdPrint*)':
debugger_command.cpp:(.text._ZN5boost14checked_deleteIN4HPHP4Eval8CmdPrintEEEvPT_[void boost::checked_delete<HPHP::Eval::CmdPrint>(HPHP::Eval::CmdPrint*)]+0x14): undefined reference to `vtable for HPHP::Eval::CmdPrint'
../../bin/libhphp_runtime.a(cmd_interrupt.cpp.o): In function `HPHP::Eval::CmdInterrupt::onClient(HPHP::Eval::DebuggerClient*)':
cmd_interrupt.cpp:(.text+0x74e): undefined reference to `vtable for HPHP::Eval::CmdPrint'
cmd_interrupt.cpp:(.text+0x770): undefined reference to `HPHP::Eval::CmdPrint::processWatch(HPHP::Eval::DebuggerClient*, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
cmd_interrupt.cpp:(.text+0x77e): undefined reference to `vtable for HPHP::Eval::CmdPrint'
cmd_interrupt.cpp:(.text+0xc97): undefined reference to `vtable for HPHP::Eval::CmdBreak'
cmd_interrupt.cpp:(.text+0xcc8): undefined reference to `HPHP::Eval::CmdBreak::update(HPHP::Eval::DebuggerClient*)'
cmd_interrupt.cpp:(.text+0xce1): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(cmd_interrupt.cpp.o): In function `HPHP::Eval::CmdBreak::~CmdBreak()':
cmd_interrupt.cpp:(.text._ZN4HPHP4Eval8CmdBreakD2Ev[_ZN4HPHP4Eval8CmdBreakD5Ev]+0x1f): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(cmd_interrupt.cpp.o): In function `HPHP::Eval::CmdPrint::~CmdPrint()':
cmd_interrupt.cpp:(.text._ZN4HPHP4Eval8CmdPrintD2Ev[_ZN4HPHP4Eval8CmdPrintD5Ev]+0xf): undefined reference to `vtable for HPHP::Eval::CmdPrint'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval16ScalarExpressionE[vtable for HPHP::Eval::ScalarExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval16ScalarExpressionE[vtable for HPHP::Eval::ScalarExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval16ScalarExpressionE[vtable for HPHP::Eval::ScalarExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval16ScalarExpressionE[vtable for HPHP::Eval::ScalarExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval16ScalarExpressionE[vtable for HPHP::Eval::ScalarExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(scalar_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval16ScalarExpressionE[typeinfo for HPHP::Eval::ScalarExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15ArrayExpressionE[vtable for HPHP::Eval::ArrayExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15ArrayExpressionE[vtable for HPHP::Eval::ArrayExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15ArrayExpressionE[vtable for HPHP::Eval::ArrayExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15ArrayExpressionE[vtable for HPHP::Eval::ArrayExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15ArrayExpressionE[vtable for HPHP::Eval::ArrayExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(array_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval15ArrayExpressionE[typeinfo for HPHP::Eval::ArrayExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(parser.cpp.o): In function `HPHP::Eval::Parser::onGoto(HPHP::Eval::Token&, HPHP::Eval::Token&, bool)':
parser.cpp:(.text+0x8fcc): undefined reference to `HPHP::Eval::GotoStatement::GotoStatement(HPHP::Eval::Parser*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
../../bin/libhphp_runtime.a(parser.cpp.o): In function `HPHP::Eval::Parser::onReturn(HPHP::Eval::Token&, HPHP::Eval::Token*, bool)':
parser.cpp:(.text+0x90cd): undefined reference to `HPHP::Eval::ReturnStatement::ReturnStatement(HPHP::Eval::Parser*, HPHP::Eval::AstPtr<HPHP::Eval::Expression>)'
../../bin/libhphp_runtime.a(debugger_client.cpp.o): In function `HPHP::Eval::DebuggerClient::initializeMachine()':
debugger_client.cpp:(.text+0x5698): undefined reference to `vtable for HPHP::Eval::CmdBreak'
debugger_client.cpp:(.text+0x56bd): undefined reference to `HPHP::Eval::CmdBreak::update(HPHP::Eval::DebuggerClient*)'
debugger_client.cpp:(.text+0x56cd): undefined reference to `vtable for HPHP::Eval::CmdBreak'
../../bin/libhphp_runtime.a(debugger_client.cpp.o): In function `HPHP::Eval::DebuggerClient::createCommand()':
debugger_client.cpp:(.text+0xb016): undefined reference to `vtable for HPHP::Eval::CmdConfig'
debugger_client.cpp:(.text+0xb422): undefined reference to `vtable for HPHP::Eval::CmdPrint'
debugger_client.cpp:(.text+0xb514): undefined reference to `vtable for HPHP::Eval::CmdNext'
debugger_client.cpp:(.text+0xb690): undefined reference to `vtable for HPHP::Eval::CmdJump'
debugger_client.cpp:(.text+0xb7b3): undefined reference to `vtable for HPHP::Eval::CmdGlobal'
debugger_client.cpp:(.text+0xb876): undefined reference to `vtable for HPHP::Eval::CmdException'
debugger_client.cpp:(.text+0xb93d): undefined reference to `vtable for HPHP::Eval::CmdContinue'
debugger_client.cpp:(.text+0xb98e): undefined reference to `vtable for HPHP::Eval::CmdBreak'
debugger_client.cpp:(.text+0xba3f): undefined reference to `vtable for HPHP::Eval::CmdMacro'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IssetExpressionE[vtable for HPHP::Eval::IssetExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IssetExpressionE[vtable for HPHP::Eval::IssetExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IssetExpressionE[vtable for HPHP::Eval::IssetExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IssetExpressionE[vtable for HPHP::Eval::IssetExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IssetExpressionE[vtable for HPHP::Eval::IssetExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(isset_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval15IssetExpressionE[typeinfo for HPHP::Eval::IssetExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17IncludeExpressionE[vtable for HPHP::Eval::IncludeExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17IncludeExpressionE[vtable for HPHP::Eval::IncludeExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17IncludeExpressionE[vtable for HPHP::Eval::IncludeExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17IncludeExpressionE[vtable for HPHP::Eval::IncludeExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17IncludeExpressionE[vtable for HPHP::Eval::IncludeExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(include_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval17IncludeExpressionE[typeinfo for HPHP::Eval::IncludeExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o): In function `HPHP::Eval::UnaryOpExpression::refval(HPHP::Eval::VariableEnvironment&, int) const':
unary_op_expression.cpp:(.text+0x11): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17UnaryOpExpressionE[vtable for HPHP::Eval::UnaryOpExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17UnaryOpExpressionE[vtable for HPHP::Eval::UnaryOpExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17UnaryOpExpressionE[vtable for HPHP::Eval::UnaryOpExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17UnaryOpExpressionE[vtable for HPHP::Eval::UnaryOpExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(unary_op_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval17UnaryOpExpressionE[typeinfo for HPHP::Eval::UnaryOpExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(simple_function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval28SimpleFunctionCallExpressionE[vtable for HPHP::Eval::SimpleFunctionCallExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(simple_function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval28SimpleFunctionCallExpressionE[vtable for HPHP::Eval::SimpleFunctionCallExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(simple_function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval28SimpleFunctionCallExpressionE[vtable for HPHP::Eval::SimpleFunctionCallExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18ConstantExpressionE[vtable for HPHP::Eval::ConstantExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18ConstantExpressionE[vtable for HPHP::Eval::ConstantExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18ConstantExpressionE[vtable for HPHP::Eval::ConstantExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18ConstantExpressionE[vtable for HPHP::Eval::ConstantExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18ConstantExpressionE[vtable for HPHP::Eval::ConstantExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(constant_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval18ConstantExpressionE[typeinfo for HPHP::Eval::ConstantExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(static_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22StaticMethodExpressionE[vtable for HPHP::Eval::StaticMethodExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(static_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22StaticMethodExpressionE[vtable for HPHP::Eval::StaticMethodExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(static_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22StaticMethodExpressionE[vtable for HPHP::Eval::StaticMethodExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(object_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22ObjectMethodExpressionE[vtable for HPHP::Eval::ObjectMethodExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(object_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22ObjectMethodExpressionE[vtable for HPHP::Eval::ObjectMethodExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(object_method_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22ObjectMethodExpressionE[vtable for HPHP::Eval::ObjectMethodExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(variable_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18VariableExpressionE[vtable for HPHP::Eval::VariableExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(variable_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18VariableExpressionE[vtable for HPHP::Eval::VariableExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20EncapsListExpressionE[vtable for HPHP::Eval::EncapsListExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20EncapsListExpressionE[vtable for HPHP::Eval::EncapsListExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20EncapsListExpressionE[vtable for HPHP::Eval::EncapsListExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20EncapsListExpressionE[vtable for HPHP::Eval::EncapsListExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20EncapsListExpressionE[vtable for HPHP::Eval::EncapsListExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(encaps_list_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval20EncapsListExpressionE[typeinfo for HPHP::Eval::EncapsListExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(assignment_ref_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23AssignmentRefExpressionE[vtable for HPHP::Eval::AssignmentRefExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(assignment_ref_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23AssignmentRefExpressionE[vtable for HPHP::Eval::AssignmentRefExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(assignment_ref_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23AssignmentRefExpressionE[vtable for HPHP::Eval::AssignmentRefExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(assignment_ref_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23AssignmentRefExpressionE[vtable for HPHP::Eval::AssignmentRefExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(assignment_ref_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval23AssignmentRefExpressionE[typeinfo for HPHP::Eval::AssignmentRefExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17ClosureExpressionE[vtable for HPHP::Eval::ClosureExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17ClosureExpressionE[vtable for HPHP::Eval::ClosureExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17ClosureExpressionE[vtable for HPHP::Eval::ClosureExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17ClosureExpressionE[vtable for HPHP::Eval::ClosureExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval17ClosureExpressionE[vtable for HPHP::Eval::ClosureExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(closure_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval17ClosureExpressionE[typeinfo for HPHP::Eval::ClosureExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval13QOpExpressionE[vtable for HPHP::Eval::QOpExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval13QOpExpressionE[vtable for HPHP::Eval::QOpExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval13QOpExpressionE[vtable for HPHP::Eval::QOpExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval13QOpExpressionE[vtable for HPHP::Eval::QOpExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval13QOpExpressionE[vtable for HPHP::Eval::QOpExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(qop_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval13QOpExpressionE[typeinfo for HPHP::Eval::QOpExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18BinaryOpExpressionE[vtable for HPHP::Eval::BinaryOpExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18BinaryOpExpressionE[vtable for HPHP::Eval::BinaryOpExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18BinaryOpExpressionE[vtable for HPHP::Eval::BinaryOpExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18BinaryOpExpressionE[vtable for HPHP::Eval::BinaryOpExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18BinaryOpExpressionE[vtable for HPHP::Eval::BinaryOpExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(binary_op_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval18BinaryOpExpressionE[typeinfo for HPHP::Eval::BinaryOpExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(new_object_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval19NewObjectExpressionE[vtable for HPHP::Eval::NewObjectExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(new_object_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval19NewObjectExpressionE[vtable for HPHP::Eval::NewObjectExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(new_object_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval19NewObjectExpressionE[vtable for HPHP::Eval::NewObjectExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23ClassConstantExpressionE[vtable for HPHP::Eval::ClassConstantExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23ClassConstantExpressionE[vtable for HPHP::Eval::ClassConstantExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23ClassConstantExpressionE[vtable for HPHP::Eval::ClassConstantExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23ClassConstantExpressionE[vtable for HPHP::Eval::ClassConstantExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval23ClassConstantExpressionE[vtable for HPHP::Eval::ClassConstantExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(class_constant_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval23ClassConstantExpressionE[typeinfo for HPHP::Eval::ClassConstantExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20InstanceOfExpressionE[vtable for HPHP::Eval::InstanceOfExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20InstanceOfExpressionE[vtable for HPHP::Eval::InstanceOfExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20InstanceOfExpressionE[vtable for HPHP::Eval::InstanceOfExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20InstanceOfExpressionE[vtable for HPHP::Eval::InstanceOfExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval20InstanceOfExpressionE[vtable for HPHP::Eval::InstanceOfExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(instanceof_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval20InstanceOfExpressionE[typeinfo for HPHP::Eval::InstanceOfExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o): In function `HPHP::Eval::IncOpExpression::refval(HPHP::Eval::VariableEnvironment&, int) const':
inc_op_expression.cpp:(.text+0x45): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IncOpExpressionE[vtable for HPHP::Eval::IncOpExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IncOpExpressionE[vtable for HPHP::Eval::IncOpExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IncOpExpressionE[vtable for HPHP::Eval::IncOpExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval15IncOpExpressionE[vtable for HPHP::Eval::IncOpExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(inc_op_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval15IncOpExpressionE[typeinfo for HPHP::Eval::IncOpExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(ref_param_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18RefParamExpressionE[vtable for HPHP::Eval::RefParamExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(ref_param_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval18RefParamExpressionE[vtable for HPHP::Eval::RefParamExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(object_property_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ObjectPropertyExpressionE[vtable for HPHP::Eval::ObjectPropertyExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(this_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14ThisExpressionE[vtable for HPHP::Eval::ThisExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(this_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14ThisExpressionE[vtable for HPHP::Eval::ThisExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14TempExpressionE[vtable for HPHP::Eval::TempExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14TempExpressionE[vtable for HPHP::Eval::TempExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14TempExpressionE[vtable for HPHP::Eval::TempExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14TempExpressionE[vtable for HPHP::Eval::TempExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14TempExpressionE[vtable for HPHP::Eval::TempExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(temp_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval14TempExpressionE[typeinfo for HPHP::Eval::TempExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(static_member_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22StaticMemberExpressionE[vtable for HPHP::Eval::StaticMemberExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(static_member_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22StaticMemberExpressionE[vtable for HPHP::Eval::StaticMemberExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(assignment_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22AssignmentOpExpressionE[vtable for HPHP::Eval::AssignmentOpExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(assignment_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22AssignmentOpExpressionE[vtable for HPHP::Eval::AssignmentOpExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(assignment_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22AssignmentOpExpressionE[vtable for HPHP::Eval::AssignmentOpExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(assignment_op_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22AssignmentOpExpressionE[vtable for HPHP::Eval::AssignmentOpExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(assignment_op_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval22AssignmentOpExpressionE[typeinfo for HPHP::Eval::AssignmentOpExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ListAssignmentExpressionE[vtable for HPHP::Eval::ListAssignmentExpression]+0x40): undefined reference to `HPHP::Eval::Expression::refval(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ListAssignmentExpressionE[vtable for HPHP::Eval::ListAssignmentExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ListAssignmentExpressionE[vtable for HPHP::Eval::ListAssignmentExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ListAssignmentExpressionE[vtable for HPHP::Eval::ListAssignmentExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval24ListAssignmentExpressionE[vtable for HPHP::Eval::ListAssignmentExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(list_assignment_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval24ListAssignmentExpressionE[typeinfo for HPHP::Eval::ListAssignmentExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22FunctionCallExpressionE[vtable for HPHP::Eval::FunctionCallExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22FunctionCallExpressionE[vtable for HPHP::Eval::FunctionCallExpression]+0x58): undefined reference to `HPHP::Eval::Expression::toLval() const'
../../bin/libhphp_runtime.a(function_call_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22FunctionCallExpressionE[vtable for HPHP::Eval::FunctionCallExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(function_call_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval22FunctionCallExpressionE[typeinfo for HPHP::Eval::FunctionCallExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(lval_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14LvalExpressionE[vtable for HPHP::Eval::LvalExpression]+0x48): undefined reference to `HPHP::Eval::Expression::exist(HPHP::Eval::VariableEnvironment&, int) const'
../../bin/libhphp_runtime.a(lval_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14LvalExpressionE[vtable for HPHP::Eval::LvalExpression]+0x50): undefined reference to `HPHP::Eval::Expression::evalExist(HPHP::Eval::VariableEnvironment&) const'
../../bin/libhphp_runtime.a(lval_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval14LvalExpressionE[vtable for HPHP::Eval::LvalExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
../../bin/libhphp_runtime.a(lval_expression.cpp.o):(.rodata._ZTIN4HPHP4Eval14LvalExpressionE[typeinfo for HPHP::Eval::LvalExpression]+0x10): undefined reference to `typeinfo for HPHP::Eval::Expression'
../../bin/libhphp_runtime.a(array_element_expression.cpp.o):(.rodata._ZTVN4HPHP4Eval22ArrayElementExpressionE[vtable for HPHP::Eval::ArrayElementExpression]+0x60): undefined reference to `HPHP::Eval::Expression::isRefParam() const'
collect2: ld returned 1 exit status
make[2]: *** [src/hphp/hphp] Fehler 1
make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Fehler 2
make: *** [all] Fehler 2

The missing functions should be part of hphp? Two possible caues.

  1. Link order does matter?
  2. Something is missing in the linking command?

olistudent avatar Aug 22 '11 12:08 olistudent

I got the same error when make on Centos5.6 64bit

/root/hiphop/hiphop-php/src/compiler/construct.h:284: warning: ‘class HPHP::LocalEffectsContainer’ has virtual functions but non-virtual destructor /root/hiphop/hiphop-php/src/compiler/expression/static_class_name.h:25: warning: ‘class HPHP::StaticClassName’ has virtual functions but non-virtual destructor [ 88%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o /root/hiphop/hiphop-php/src/compiler/construct.h:284: warning: ‘class HPHP::LocalEffectsContainer’ has virtual functions but non-virtual destructor Linking CXX static library ../../bin/libhphp_analysis.a [ 88%] Built target hphp_analysis Scanning dependencies of target hphp [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o /root/hiphop/hiphop-php/src/compiler/construct.h:284: warning: ‘class HPHP::LocalEffectsContainer’ has virtual functions but non-virtual destructor Linking CXX executable hphp Building hphpi Core dumped: Segmentation fault hphp failed make[2]: *** [src/hphp/hphp] Error 255 make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2 make: *** [all] Error 2

jordanliuhao avatar Aug 26 '11 17:08 jordanliuhao

I don't know what exactly happend in my last report. But it didn't occure a second time. Now I do get the same error like the others: Linking CXX executable hphp Building hphpi Core dumped: Segmentation fault hphp failed The backtrace looks as follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6994b70 (LWP 21193)]
0x01007d6e in vfprintf () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
#0  0x01007d6e in vfprintf () from /lib/i386-linux-gnu/libc.so.6
#1  0x0102855d in vsnprintf () from /lib/i386-linux-gnu/libc.so.6
#2  0x08a4c78c in HPHP::CodeGenerator::print (this=0xb6993bf8, 
    fmt=0x954d3c0 "  (const char *)\"%s\",\n  (const char *)%lld,\n  (const char *)GET_GV_OFFSET(%s),\n  (const char *)%d,\n", ap=0xb6993468 "\314\310\r\v\a")
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/code_generator.cpp:391
#3  0x08a4b045 in HPHP::CodeGenerator::printf (this=0xb6993bf8, 
    fmt=0x954d3c0 "  (const char *)\"%s\",\n  (const char *)%lld,\n  (const char *)GET_GV_OFFSET(%s),\n  (const char *)%d,\n") at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/code_generator.cpp:121
#4  0x08a142e9 in HPHP::VariableTable::outputCPPGVHashTableGetImpl (this=0x9e2a510, cg=..., ar=...)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/variable_table.cpp:1253
#5  0x08a144ae in HPHP::VariableTable::outputCPPGlobalVariablesGetImpl (this=0x9e2a510, cg=..., ar=...)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/variable_table.cpp:1262
#6  0x089305c1 in HPHP::AnalysisResult::outputCPPGlobalVariablesMethods (this=0x9e48000)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/analysis_result.cpp:4145
#7  0x08942ffa in GlobalVarMethJob::outputImpl (this=0xad2b4e0)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/analysis_result.cpp:2430
#8  0x08941921 in OutputJob::output (this=0xad2b4e0)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/analysis_result.cpp:2303
#9  0x089431b9 in OutputWorker::doJob (this=0xad2f200, job=0xad2b4e0)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/compiler/analysis/analysis_result.cpp:2453
#10 0x0896026c in HPHP::JobQueueWorker<OutputJob*, false, false>::start (this=0xad2f200)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/util/job_queue.h:248
#11 0x0896d800 in HPHP::AsyncFunc<OutputWorker>::run_ (obj=0xad07f30)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/util/async_func.h:247
#12 0x088641e5 in HPHP::AsyncFuncImpl::threadFuncImpl (this=0xad07f30)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/util/async_func.h:205
#13 0x08863f4d in HPHP::AsyncFuncImpl::ThreadFunc (obj=0xad07f30)
    at /home/oliver/iequalize/hiphop/hiphop-php/src/util/async_func.h:105
#14 0x0085ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0x0109873e in clone () from /lib/i386-linux-gnu/libc.so.6
(gdb)

olistudent avatar Sep 02 '11 13:09 olistudent

are there any solutiuons? i have the same problem and dont know how to solve it!

friedhelm-langhof avatar Nov 07 '11 13:11 friedhelm-langhof

I was wonderign if there is or will be a fix for this issue? I am running x86_64 x86_64 GNU/Linux and have the same problem .... I actually spent three days building and installing all the requriements, had this issue and reconfigured a new server usign more rpms than built source and still have this issue. So i guess ... it we are going back to the CentOS build version for now...

[ 88%] Built target hphp_analysis Scanning dependencies of target hphp [ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o /home/latucker/hiphop/hiphop-php/src/compiler/construct.h:284: warning: 'class HPHP::LocalEffectsContainer' has virtual functions but non-virtual destructor Linking CXX executable hphp Building hphpi hphp failed make[2]: *** [src/hphp/hphp] Error 255 make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2 make: *** [all] Error 2

for grins if you run make install again you get:

[root@ip-10-245-201-139 buildserver1 hiphop-php]# make install [ 1%] Built target timelib [ 2%] Built target xhp [ 12%] Built target mbfl [ 13%] Built target afdt [ 13%] Built target sqlite3 [ 75%] Built target hphp_runtime_static [ 88%] Built target hphp_analysis [ 88%] Built target hphp Scanning dependencies of target test

latucker avatar Nov 15 '11 20:11 latucker

https://github.com/facebook/hiphop-php/issues/319#issuecomment-1445537

check out this link this works for me.

I am using fedora 16: gname -a: Linux localhost.localdomain 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1 21:10:48 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

hirenmanek avatar Nov 23 '11 06:11 hirenmanek

I got the same problem with Ubuntu 11.10 64bit following the instruction from https://github.com/facebook/hiphop-php/wiki/Building-and-installing-on-ubuntu-10.10

To fixed it, I just used (subjected by nitro2010): export HPHP_HOME=pwd export HPHP_LIB=pwd/bin export CMAKE_PREFIX_PATH=/bin/pwd/../

And works pretty well. But I just found out https://github.com/facebook/hiphop-php/wiki/Building-and-Installing-on-Ubuntu-11.10 May be that would have been easier to follow this one :p

alexandrepiel avatar Jan 23 '12 10:01 alexandrepiel

I just wanted to say that I had these same issues. Nitro2010 said:

echo export HPHP_HOME=pwd >> ~/.bashrc echo export HPHP_LIB=pwd/bin >> ~/.bashrc echo export CMAKE_PREFIX_PATH=/bin/pwd/../ >> ~/.bashrc echo alias hphp=pwd/src/hphp/hphp >> ~/.bashrc

But he left out that you should do that while your in the /usr/lib64/hphp directory (on Centos 5 anyway) then reboot.

I hope this helps!

Jafo232 avatar Feb 21 '12 03:02 Jafo232