I just followed Nate's advice and it resolves the. Now the code compiles successfully on cluster. Though I haven't commented the third warning. Surprisingly this waring doesn't show up after first two fixes.
Few queries: 1. Is there any way to pass a macro flag ( -D__FLAG__) too the files in the compilation process? 2. Mercurial libraries still not found and it throws style hook waring. How severe is this error? 3. I received the following message in the compilation process. [ SWIG] X86_FS/python/swig/event.i -> _wrap.cc, .py build/X86_FS/sim/eventq.hh:65: Warning 401: Base class 'Serializable' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive. build/X86_FS/sim/eventq.hh:65: Warning 401: Base class 'FastAlloc' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive. build/X86_FS/sim/eventq.hh:366: Warning 401: Base class 'Serializable' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive. Thanks, Nil On Jun 23, 2011, at 8:23 PM, nathan binkert wrote: >> Can you compile with GCC 4.4.0 on your local machine? > > > I don't have time to do it myself, but these bugs really are pretty > simple to fix. Just create virtual destructors (that do nothing) for > those two classes and try commenting out the third. > > Nate > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
