Hello, It seems to be a compilation related issue. If pthread.o is replaced by -lpthread it may work. Note that pthread.o may be a gem5 modified threading library.
Regards, -- Fernando A. Endo, Post-doc INRIA Rennes-Bretagne Atlantique France 2015-09-02 9:56 GMT+02:00 Azadeh Shirvanian <azadeh.shirvan...@gmail.com>: > Hi Himanshi > > Have you inserted the script option *--cpu-type=timing* in your > command-line? > > Here you can find more information if that is the case: > http://www.m5sim.org/Running_gem5 > > Azadeh > > On Wed, Sep 2, 2015 at 8:06 AM, Himanshi Garg < > himanshi.g...@circuitsutra.com> wrote: > >> Hi, >> >> I wanted to run some examples using simple atomic and simple timing >> model, to >> see the difference between these two in gem5. The mwait example doesnt >> compile and throws this error : >> g++: error: pthread.o: No such file or directory >> >> I dont seem to see any visible difference between them when I run hello >> test. >> I want to understand the concept of timing, please suggest how to run it. >> >> Regards, >> Himanshi >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users