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 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
12 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like