riscv-tests
riscv-tests copied to clipboard
Running make in riscv-test directory encounter an error
When I run make in riscv-tests path it give me below error:
In file included from /home/waseem/Desktop/gem5-resources/src/riscv-tests/benchmarks/common/util.h:8, from /home/waseem/Desktop/gem5-resources/src/riscv-tests/benchmarks/median/median_main.c:12: /usr/lib/gcc/riscv64-unknown-elf/10.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h> | ^~~~~~~~~~ compilation terminated. In file included from /home/waseem/Desktop/gem5-resources/src/riscv-tests/benchmarks/common/syscalls.c:3: /usr/lib/gcc/riscv64-unknown-elf/10.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h> | ^~~~~~~~~~ compilation terminated. make[1]: *** [/home/waseem/Desktop/gem5-resources/src/riscv-tests/benchmarks/Makefile:67: median.riscv] Error 1 make[1]: Leaving directory '/home/waseem/Desktop/gem5-resources/src/riscv-tests/benchmarks' make: *** [Makefile:25: benchmarks] Error 2