Hi I have added my own function in cpu/o3/dyn_inst_impl.hh like this: template <class Impl> Addr BaseO3DynInst<Impl>::initiateAccByMahmood()
this is similar to template <class Impl> Fault BaseO3DynInst<Impl>::initiateAcc() I also declared it in dyn_inst.hh similar to initiateAcc() Fault initiateAcc(); Addr initiateAccByMahmood(); Now, I get this error while building: In file included from build/X86_SE/cpu/o3/dyn_inst.cc:31:0: build/X86_SE/cpu/o3/dyn_inst_impl.hh: In member function 'Addr BaseO3DynInst<Impl>::initiateAccByMahmood() [with Impl = O3CPUImpl, Addr = long unsigned int]': build/X86_SE/cpu/o3/dyn_inst.cc:36:16: instantiated from here build/X86_SE/cpu/o3/dyn_inst_impl.hh:141:76: error: 'class StaticInst' has no member named 'initiateAccByMahmood' scons: *** [build/X86_SE/cpu/o3/dyn_inst.do] Error 1 Is there any suggestion for that? I placed my own function every where the "initiateAcc" is declared. Checking 'class StaticInst' shows that it has not any member named "initiateAcc()" Kind Regards, -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
