[LLVMbugs] [Bug 19158] New: llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found #include "LibraryDependencies.inc"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 16 17:55:12 PDT 2014


            Bug ID: 19158
           Summary: llvm-config.cpp:45:10: fatal error:
                    'LibraryDependencies.inc' file not found #include
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: noloader at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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"

Full ouptut is:

llvm[1]: Compiling llvm-config.cpp for Release+Asserts build
llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found
#include "LibraryDependencies.inc"
1 error generated.
/bin/rm: cannot remove
No such file or directory
make[1]: ***
Error 1
make[1]: Leaving directory
make: *** [all] Error 1

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.

Any ideas how to proceed?

Thanks in advance.


# Fetch
wget http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz
wget http://llvm.org/releases/3.4/clang-3.4.src.tar.gz
wget http://llvm.org/releases/3.4/compiler-rt-3.4.src.tar.gz
# wget http://llvm.org/releases/3.4/lldb-3.4.src.tar.gz

tar xvf llvm-3.4.src.tar.gz
cd llvm-3.4/tools

# Clang Front End
tar xvf ../../clang-3.4.src.tar.gz
mv clang-3.4 clang

# tar xvf ../../lldb-3.4.src.tar.gz
# mv lldb-3.4.src/ lldb

# Compiler RT
cd ..
cd projects
tar xvf ../../compiler-rt-3.4.src.tar.
mv compiler-rt-3.4/ compiler-rt

# Build
cd ..
./configure --enable-optimized --prefix=/usr/local
make -j4
sudo make install

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140317/051fb51f/attachment.html>

More information about the llvm-bugs mailing list