Created on 07-31-2014 07:55 AM - edited 09-16-2022 02:03 AM
I attempt to compile impala (1.4.0). My system is CentOS 6.2 boost 1.46.1, llvm 3.3, gcc 4.4.6
when I compile impala, error info:
../../build/debug/codegen/libCodeGen.a(llvm-codegen.cc.o ):( data.rel.ro_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_6WeakVHENS_14ValueMapConfigIS3_EEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_6WeakVHENS_14ValueMapConfigIS3_EEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
anyone have any ideas?
Thanks a million!
Created 07-31-2014 11:36 AM
Just as a start, this thread may be helpful (unsure if you followed the same steps):
https://groups.google.com/a/cloudera.org/forum/#!topic/impala-user/7yjXGkI-wdQ
Created 07-31-2014 11:36 AM
Just as a start, this thread may be helpful (unsure if you followed the same steps):
https://groups.google.com/a/cloudera.org/forum/#!topic/impala-user/7yjXGkI-wdQ
Created 07-31-2014 08:02 PM
I have solved this problem!
Follow the steps below you need to install LLVM.
wget http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz
tar xvzf llvm-3.2.src.tar.gz
cd llvm-3.2.src/tools
svn co llvm-project - Revision 214475: /cfe/tags/RELEASE_33/final clang
cd ../projects
svn co llvm-project - Revision 214475: /compiler-rt/tags/RELEASE_33/final compiler-rt
cd ..
./configure --with-pic
make -j4 REQUIRES_RTTI=1
sudo make install
I forget this option (REQUIRES_RTTI=1) causes the problem.