[m5-dev] Error while compiling (changeset 8229)

2011-04-20 Thread Nilay Vaish
I am trying to compile m5 and the scons exits with errors. Following is the compilation command -- scons -j 12 CXX=g++44 CC=gcc44 USE_MYSQL=False RUBY=True build/ALPHA_SE_MESI_CMP_directory/m5.fast and errors In file included from

Re: [m5-dev] Error while compiling (changeset 8229)

2011-04-20 Thread Nilay Vaish
Nate, since I have provided the option USE_MYSQL=False, why should mysql.hh even come in to picture? -- Nilay On Wed, 20 Apr 2011, nathan binkert wrote: The solution is to #include base/types.hh in mysql.hh, but to be honest, I'm not sure how this is even happening. Perhaps you need to

Re: [m5-dev] Error while compiling (changeset 8229)

2011-04-20 Thread nathan binkert
Nate, since I have provided the option USE_MYSQL=False, why should mysql.hh even come in to picture? Because that file is being included regardless. I'm actively trying to squash all of these bugs and I'll be committing some changes soon. This one is trivial to fix. Nate

Re: [m5-dev] Error while compiling (changeset 8229)

2011-04-20 Thread nathan binkert
Because that file is being included regardless.  I'm actively trying to squash all of these bugs and I'll be committing some changes soon. This one is trivial to fix. I can't reproduce this bug on my machine, even with USE_MYSQL=False. Can you try the attached diff? If it works for you, feel