Hi , I have used m5_dump_stats and reset_stats in the cpp file. But when i compile with below command still it complains , included the m5ops.h too :
#include <iostream> #include "gem5/m5ops.h" g++ -static -I include -o test test.cpp test.cpp:(.text+0xca): undefined reference to `m5_dump_stats' test.cpp:(.text+0xd9): undefined reference to `m5_reset_stats' test.cpp:(.text+0xfa): undefined reference to `m5_dump_stats' collect2: error: ld returned 1 exit status Might be something basic , can anybody please help quickly ? Thanks
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
