[LLVMdev] Problems with iterator.h

Hendrik Boom hendrik at topoi.pooq.com
Tue Jun 3 08:31:36 PDT 2008


Just finished the compiling llvm without llvm-gcc from svn.

Tried it out.  Got

g++ -o hlvm.o -c -I/farhome/hendrik/dv/llvm/llvm/include -D_DEBUG -D_GNU_SOURCE 
-D__STDC_LIMIT_MACROS -g -Woverloaded-virtual hlvm.cpp
In file included from /farhome/hendrik/dv/llvm/llvm/include/llvm/DerivedTypes.h:
21,
                 from hlvm.cpp:1:
/farhome/hendrik/dv/llvm/llvm/include/llvm/Type.h:19:31: error: llvm/ADT/iterato
r.h: No such file or directory

and other similar messages.

Looked in /farhome/hendrik/dv/llvm/llvm/include/llvm/ADT
and found two relevant-looking files:

  -rw-r--r--  1 hendrik sbox  1328 2008-06-03 10:00 iterator
  -rw-r--r--  1 hendrik sbox  2418 2008-06-03 10:00 iterator.h.in

(a) What should I do now?

(b) Is this a bug in the Makefiles?  It looks as if something should have
    built iterator.h from iterator.h.in, but nothing did.

-- hendrik





More information about the llvm-dev mailing list