Hi, I have built gem5.opt but I cannot build 'm5' utility inside gem5/util/m5. If I run 'make' inside gem5/util/m5 then I get the following errors;
gem5/util/m5# make m5 cc m5.c -o m5 /tmp/ccw63Np2.o: In function `read_file': m5.c:(.text+0x113): undefined reference to `m5_readfile' /tmp/ccw63Np2.o: In function `write_file': m5.c:(.text+0x223): undefined reference to `m5_writefile' /tmp/ccw63Np2.o: In function `do_exit': m5.c:(.text+0x2f1): undefined reference to `m5_exit' /tmp/ccw63Np2.o: In function `do_reset_stats': m5.c:(.text+0x32c): undefined reference to `m5_reset_stats' /tmp/ccw63Np2.o: In function `do_dump_stats': m5.c:(.text+0x367): undefined reference to `m5_dump_stats' /tmp/ccw63Np2.o: In function `do_dump_reset_stats': m5.c:(.text+0x3a2): undefined reference to `m5_dumpreset_stats' /tmp/ccw63Np2.o: In function `do_checkpoint': m5.c:(.text+0x4d3): undefined reference to `m5_checkpoint' /tmp/ccw63Np2.o: In function `do_load_symbol': m5.c:(.text+0x535): undefined reference to `m5_loadsymbol' /tmp/ccw63Np2.o: In function `do_initparam': m5.c:(.text+0x55b): undefined reference to `m5_initparam' /tmp/ccw63Np2.o: In function `do_sw99param': m5.c:(.text+0x59e): undefined reference to `m5_initparam' collect2: ld returned 1 exit status make: *** [m5] Error 1 Any clues how to build 'm5' utility so that I copy this in my own custom image. cheers, Ahmad
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
