I googled and found that there was a bug raised with similar issue. http://llvm.org/bugs/show_bug.cgi?id=2210 I applied the code changes mentioned in the bug and it worked. Now, i am stuck at the following error. Working overit .. llvm[2]: Compiling SmallVectorTest.cpp for Release+Asserts build llvm[2]: Compiling SparseBitVectorTest.cpp for Release+Asserts build llvm[2]: Compiling SparseSetTest.cpp for Release+Asserts build llvm[2]: Compiling StringMapTest.cpp for Release+Asserts build llvm[2]: Compiling StringRefTest.cpp for Release+Asserts build llvm[2]: Compiling TripleTest.cpp for Release+Asserts build llvm[2]: Compiling TwineTest.cpp for Release+Asserts build llvm[2]: Compiling VariadicFunctionTest.cpp for Release+Asserts build llvm[2]: Compiling ilistTest.cpp for Release+Asserts build gmake[2]: *** No rule to make target `/usr/llvm/llvm-3.1.src/unittests/lib/libLLVMSupport.a', needed by `Release+Asserts/ADTTests'. Stop. gmake[2]: Leaving directory `/usr/llvm/llvm-3.1.src/unittests/ADT' gmake[1]: *** [ADT/.makeall] Error 2 gmake[1]: Leaving directory `/usr/llvm/llvm-3.1.src/unittests' gmake: *** [all] Error 1 # cd /usr/llvm/llvm-3.1.src/unittests/ADT # gmake gmake: *** No rule to make target `/usr/llvm/llvm-3.1.src/unittests/lib/libLLVMSupport.a', needed by `Release+Asserts/ADTTests'. Stop. # any idea ? -- View this message in context: http://llvm.1065342.n5.nabble.com/Error-building-llvm-on-AIX-7-1-tp50322p50365.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Any idea how to fix this makefile issue .. i am stuck here .. It seems i am missing some config paramter here .. If i copy the library to the respective location, the compilation proceeds further .. but there are multiple libraries which needs to be copied .. Please advise. gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/llvm/llvm-3.1.src/tools/llvm-config' gmake[2]: Entering directory `/usr/llvm/llvm-3.1.src/tools/opt' gmake[2]: *** No rule to make target `/usr/llvm/llvm-3.1.src/tools/lib/libLLVMipo.a', needed by `/usr/llvm/llvm-3.1.src/Release+Asserts/bin/opt'. Stop. gmake[2]: Leaving directory `/usr/llvm/llvm-3.1.src/tools/opt' gmake[1]: *** [opt/.makeall] Error 2 gmake[1]: Leaving directory `/usr/llvm/llvm-3.1.src/tools' gmake: *** [all] Error 1 # -Sunil -- View this message in context: http://llvm.1065342.n5.nabble.com/Error-building-llvm-on-AIX-7-1-tp50322p50395.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
On 10/25/2012 4:40 AM, sunilsaggar wrote:> Any idea how to fix this makefile issue .. i am stuck here .. It seems i am > missing some config paramter here .. If i copy the library to the > respective location, the compilation proceeds further .. but there are > multiple libraries which needs to be copied .. > > Please advise.Seems like you're building it in the source tree. Try building it from a separate directory. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation