Termination of Mcpat Compilation
I Am Trying to Run Mcpat on Ubuntu20.04 Following the Instructions from: After Downloading the File and Running: ~/Downloads/Mcpat/Mcpat$ Make I Got Below...
i am trying to run McPAT on ubuntu20.04 following the instructions from:
After downloading the file and running:
~/Downloads/McPAT/mcpat$ make
I got below error and the compilation is terminated
make[1]: Entering directory '/home/ahmed/Downloads/McPAT/mcpat'
g++ -m32 -Wno-unknown-pragmas -O3 -msse2 -mfpmath=sse -DNTHREADS=4 -Icacti -c cacti/Ucache.cc -o obj_opt/Ucache.o
In file included from /usr/include/time.h:25,
from cacti/Ucache.cc:33:
/usr/include/features.h:461:12: fatal error: sys/cdefs.h: No such file or directory
461 | # include <sys/cdefs.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [mcpat.mk:77: obj_opt/Ucache.o] Error 1
make[1]: Leaving directory '/home/ahmed/Downloads/McPAT/mcpat'
make: *** [makefile:11: opt] Error 2