Skip to content

Running make in riscv-test directory encounter an error #582

Description

@waseemabbas-10xe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions