[cfe-dev] Error Compiling Clang 3.4 from Sources?

Dmitri Gribenko gribozavr at gmail.com
Mon Mar 17 06:08:45 PDT 2014


On Mon, Mar 17, 2014 at 12:56 AM, Jeffrey Walton <noloader at gmail.com> wrote:
> I fetched Clang 3.4 with the recipe below. I'm hitting an error while
> attempting to compile:
>
> llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found
> #include "LibraryDependencies.inc"
>
> Sure enough, its missing:
>
> $ find . -iname LibraryDependencies.inc
> $
>
> I've run through the recipe three or four times in the past, so I know
> it used to work.

It works for me.  The file in question is generated.  With the in-tree
build like the one that your script does, it is located in
./tools/llvm-config/LibraryDependencies.inc.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list