Hi,<br><br> I tried to install LLVM under gcc version 4.2.1 (SUSE Linux). And here's the strange error I got when I tried to build llvm using gmake. Has anyone else met with similar error under same platform? Thanks a lot. <br>
<br>.....<br>.....<br>`.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' referenced in section `.gnu.linkonce.r._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o): defined in discarded section `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o)<br>
`.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' referenced in section `.gnu.linkonce.r._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o): defined in discarded section `.gnu.linkonce.t._ZNK4llvm16DAGTypeLegalizer13getTypeActionENS_3MVTE' of /home/ktian/llvm/llvm-2.5/Release/lib/libLLVMSelectionDAG.a(LegalizeVectorTypes.o)<br>
collect2: ld returned 1 exit status<br>gmake[2]: *** [/home/ktian/llvm/llvm-2.5/Release/examples/ParallelJIT] Error 1<br>gmake[2]: Target `all' not remade because of errors.<br>gmake[2]: Leaving directory `/home/ktian/llvm/llvm-2.5/examples/ParallelJIT'<br>
gmake[1]: *** [ParallelJIT/.makeall] Error 2<br>gmake[1]: Target `all' not remade because of errors.<br>gmake[1]: Leaving directory `/home/ktian/llvm/llvm-2.5/examples'<br>gmake: *** [all] Error 1<br>llvm[0]: ***** Completed Release Build<br>
<br clear="all"><br><br>--<br>Best regards,<br>Kelvin<br>