[LLVMdev] Building VMKit

Joshua Warner joshuawarner32 at gmail.com
Mon Jul 19 07:03:24 PDT 2010


Hi,

I'm trying to build VMKit from SVN, and I'm getting a bunch of errors that
all seem to be related to the TRACER macro not getting defined:

llvm[3]: Compiling Assembly.cpp for Release+Asserts build
In file included from Assembly.cpp:15:
Assembly.h:140: error: variable or field ‘TRACER’ declared void
In file included from Assembly.cpp:19:
N3.h:109: error: variable or field ‘TRACER’ declared void
In file included from Assembly.cpp:21:
VMClass.h:56: error: variable or field ‘TRACER’ declared void
VMClass.h:140: error: variable or field ‘TRACER’ declared void
VMClass.h:165: error: variable or field ‘TRACER’ declared void
...
Assembly.cpp:1929:   instantiated from here
LockedMap.h:101: error: ‘class n3::Assembly’ has no member named ‘tracer’
LockedMap.h: In member function ‘void n3::LockedMap<Key, Container, Compare,
Upcall>::tracer() [with Key = unsigned int, Container = n3::VMMethod,
Compare = std::less<unsigned int>, Upcall = n3::Assembly]’:
...

and the relevant lines:

class VMClass : public VMCommonClass {
public:
  virtual void print(mvm::PrintBuffer* buf) const;
  virtual void TRACER;
...

The only "#define TRACER" that grep found is in lib/Mvm/BoehmGC/MvmGC.h:
#define TRACER tracer()

Is there something wrong with my configuration?

Thanks,
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100719/03ce71bf/attachment.html>


More information about the llvm-dev mailing list