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>
> 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:...> Is there something wrong with my configuration?Hi Joshua, some details like what platform you are on (darwin, linux, windows), what compiler you are using, how you configured LLVM etc would be helpful. Ciao, Duncan.
Sure: I'm on 64-bit Ubuntu Linux 10.04 with gcc 4.4.3. I followed the instructions on http://vmkit.llvm.org/get_started.html, as near as I can tell. I configured llvm with the default configuration: ./configure I configured vmkit with: ./configure --with-llvmsrc=/home/jowarner/code/llvm/ --with-llvmobj=/home/jowarner/code/llvm/ --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip --with-pnet-local-prefix=/home/jowarner/code/pnet-0.8.0/ --with-pnetlib=/home/jowarner/code/pnetlib-0.8.0/ Thanks, Joshua On Mon, Jul 19, 2010 at 8:40 AM, Duncan Sands <baldrick at free.fr> wrote:> > 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: > ... > > Is there something wrong with my configuration? > > Hi Joshua, some details like what platform you are on (darwin, linux, > windows), what compiler you are using, how you configured LLVM etc > would be helpful. > > Ciao, > > Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100719/8dd89210/attachment.html>