Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How can I fix an Impala 1.4.0 compile error?

avatar
Explorer

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!

1 ACCEPTED SOLUTION

avatar
Master Collaborator

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

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

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

avatar
Explorer

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.