hi, when I run "make -C ./llvm/test/Programs", it show following error: ------------------------------------------------------------------------------------------- [root at RH9 llvm]# make -C ./llvm/test/Programs make: Entering directory `/usr/local/llvm/llvm/test/Programs' make[1]: Entering directory `/usr/local/llvm/llvm/test/Programs/SingleSource' make[2]: Entering directory `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' make[3]: Entering directory `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' make[3]: *** No rule to make target `Output/C++Catch.linked.rll', needed by `Output/C++Catch.linked.bc'. Stop. make[3]: Leaving directory `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' make[2]: *** [all] Error 1 make[2]: Leaving directory `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' make[1]: *** [UnitTests/.makeall] Error 2 make[1]: Leaving directory `/usr/local/llvm/llvm/test/Programs/SingleSource' make: *** [SingleSource/.makeall] Error 2 make: Leaving directory `/usr/local/llvm/llvm/test/Programs' [root at RH9 llvm]# ---------------------------------------------------------------------------------------------- how to solve it? yueqiang
Hi yueqiang, It worked for me. It looks like you might need to reconfigure in order to get the dependencies rebuilt. Go to your llvm build directory and run: ./config.status If you need to reconfigure you can run: $(LLVM_SRC_DIR}/configure --help to get the options (there are many but you'll probably only need a few ). The options I use (don't copy an paste these!) are:> ../llvm/configure --with-llvmgccdir=/proj/work/llvmgcc/cfrontend --prefix=/proj/install --with-gnu-ldReid. On Tue, 2003-11-25 at 23:48, yueqiang wrote:> hi, > when I run "make -C ./llvm/test/Programs", it show following error: > ------------------------------------------------------------------------------------------- > [root at RH9 llvm]# make -C ./llvm/test/Programs > make: Entering directory `/usr/local/llvm/llvm/test/Programs' > make[1]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource' > make[2]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' > make[3]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' > make[3]: *** No rule to make target `Output/C++Catch.linked.rll', needed > by `Output/C++Catch.linked.bc'. Stop. > make[3]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' > make[2]: *** [all] Error 1 > make[2]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' > make[1]: *** [UnitTests/.makeall] Error 2 > make[1]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource' > make: *** [SingleSource/.makeall] Error 2 > make: Leaving directory `/usr/local/llvm/llvm/test/Programs' > [root at RH9 llvm]# > > ---------------------------------------------------------------------------------------------- > how to solve it? > > yueqiang > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev_______________________ Reid Spencer President & CTO eXtensible Systems, Inc. rspencer at x10sys.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20031126/c192e98a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20031126/c192e98a/attachment.sig>
yueqiang wrote:> hi, > when I run "make -C ./llvm/test/Programs", it show following error:A few questions: 1. Does the build work if you do the following? % cd ./llvm/test/Programs % make 2. What are the pathnames to the source tree and object tree? 3. Can you show us how you configured LLVM? 4. If the build continues to fail, please run it again with gmake VERBOSE=1 and send the output to llvmdev at cs.uiuc.edu. That will give us more information to diagnose the problem. Another recommendation: It seems that you are building LLVM as root. You should not need root to build LLVM, and I would encourage you to build LLVM as a regular user on your system. Bugs are more dangerous if exposed by the root user. Regards, John T. Criswell> ------------------------------------------------------------------------------------------- > > [root at RH9 llvm]# make -C ./llvm/test/Programs > make: Entering directory `/usr/local/llvm/llvm/test/Programs' > make[1]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource' > make[2]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' > make[3]: Entering directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' > make[3]: *** No rule to make target `Output/C++Catch.linked.rll', needed > by `Output/C++Catch.linked.bc'. Stop. > make[3]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests/SetjmpLongjmp' > make[2]: *** [all] Error 1 > make[2]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource/UnitTests' > make[1]: *** [UnitTests/.makeall] Error 2 > make[1]: Leaving directory > `/usr/local/llvm/llvm/test/Programs/SingleSource' > make: *** [SingleSource/.makeall] Error 2 > make: Leaving directory `/usr/local/llvm/llvm/test/Programs' > [root at RH9 llvm]# > > ---------------------------------------------------------------------------------------------- > > how to solve it? > > yueqiang > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-- ********************************************************************* * John T. Criswell Email: criswell at uiuc.edu * * Research Programmer * * University of Illinois at Urbana-Champaign * * * * "It's today!" said Piglet. "My favorite day," said Pooh. * *********************************************************************