riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

error running make in emulator folder #238

Open eahmedsalman opened 5 years ago

eahmedsalman commented 5 years ago

i got this error /rocket-chip/csrc/SimDTM.cc:3:23: fatal error: fesvr/dtm.h: No such file or directory compilation terminated. VTestHarness.mk:71: recipe for target 'SimDTM.o' failed

from another issue pointed that it may be because i didn't build the riscv tools so i rebuilded it but i got an error Starting RISC-V Toolchain build process

mkdir: missing operand'

jim-wilson commented 5 years ago

You probably need to do "git submodule update --init --recursive" to get the submodules checked out. If "ls riscv-gnu-toolchain" shows an empty directory, then you haven't checked out the submodules.