<div dir="ltr">Thanks a lot. <div><br></div><div>These commands helped me.</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">sudo apt-get update; sudo apt-get upgrade</span><br style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">
<span style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">sudo apt-get install mercurial scons swig gcc m4 python python-dev libgoogle-perftools-dev g++</span><br style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">
<br style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px"><span style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">hg clone </span><a href="http://repo.gem5.org/gem5" title="http://repo.gem5.org/gem5" rel="nofollow" dir="ltr" target="_blank" style="color:rgb(39,147,230);font-family:arial,sans-serif;font-size:13px;margin:0px;padding:0px;border:0px;text-decoration:none;line-height:17px">http://repo.gem5.org/gem5</a><br style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">
<span style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">cd gem5/</span><br style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px"><span style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);line-height:17px">scons build/ARM/gem5.opt -j2</span><br>
</div></div>