[LLVMdev] llvm-config is broken ?

Duncan Sands baldrick at free.fr
Fri Oct 26 01:38:43 PDT 2012


Hi sunilsaggar,

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
> llvm-3.1.src
>
> # pwd
> /llvm/build     ==> build directory
>
> #gmake libs-only
> ...
> ...
>
> gmake[2]: Leaving directory `/llvm/build/lib/DebugInfo'
> gmake[1]: Leaving directory `/llvm/build/lib'
> gmake[1]: Entering directory `/llvm/build/tools/llvm-config'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/llvm/build/tools/llvm-config'
> gmake[1]: Entering directory `/llvm/build/unittests'
> gmake[2]: Entering directory `/llvm/build/unittests/ADT'
> gmake[2]: *** 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.

Ciao, Duncan.

> gmake[2]: Leaving directory `/llvm/build/unittests/ADT'
> gmake[1]: *** [ADT/.makeall] Error 2
> gmake[1]: 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 ?
> #
>
>
> Thanks
>
>
>
> --
> 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
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list