riscv-tests icon indicating copy to clipboard operation
riscv-tests copied to clipboard

Running make in riscv-test directory encounter an error

Open waseem-10xe opened this issue 5 months ago • 0 comments

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

waseem-10xe avatar Sep 10 '24 06:09 waseem-10xe