[LLVMdev] llvm-config is broken ?
baldrick at free.fr
Fri Oct 26 01:38:43 PDT 2012
On 26/10/12 10:24, sunilsaggar wrote:
> thanks for the reply ..I tried building it from outside ...but got a similar
> error ..
> # ls /llvm/src ==> src directory
> # pwd
> /llvm/build ==> build directory
> #gmake libs-only
> gmake: Leaving directory `/llvm/build/lib/DebugInfo'
> gmake: Leaving directory `/llvm/build/lib'
> gmake: Entering directory `/llvm/build/tools/llvm-config'
> gmake: Nothing to be done for `all'.
> gmake: Leaving directory `/llvm/build/tools/llvm-config'
> gmake: Entering directory `/llvm/build/unittests'
> gmake: Entering directory `/llvm/build/unittests/ADT'
> gmake: *** No rule to make target
> `/llvm/build/unittests/lib/libLLVMSupport.a', needed by
> `Release+Asserts/ADTTests'. Stop.
are you sure something didn't go wrong earlier? I.e. something that wasn't
reported as an error (but maybe should have been)? Another possibility is
that the library libLLVMSupport.a was built but in a different place or with
a slightly different name.
> gmake: Leaving directory `/llvm/build/unittests/ADT'
> gmake: *** [ADT/.makeall] Error 2
> gmake: Leaving directory `/llvm/build/unittests'
> gmake: *** [all] Error 1
> Again, we can see that it is looking for
> "/llvm/build/unittests/lib/libLLVMSupport.a" library which is actually
> present in "/llvm/build/Release+Asserts/lib/libLLVMSupport.a"
> does setting up LLVM_LIB_SEARCH_PATH help ?
> # echo $LLVM_LIB_SEARCH_PATH
> /llvm/build/Release+Asserts/lib/ ===> Is it correct ?
> View this message in context: http://llvm.1065342.n5.nabble.com/llvm-config-is-broken-tp50418p50435.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev