Make -f Makefile.e300artydevkit verilog fails

I am running the ‘make -f Makefile.e300artydevkit verilog’ step on Kubuntu 16.04.1 and get the following error message:

[info] Compiling 187 Scala sources to /RISC-V/freedom/rocket-chip/target/scala-2.11/classes…
[warn] /RISC-V/freedom/rocket-chip/src/main/scala/groundtest/Comparator.scala:298: object debug in package Chisel is deprecated: debug doesn’t do anything in Chisel3 as no pruning happens in the frontend
[warn] debug(idx)
[warn] ^
[warn] there were 3065 feature warnings; re-run with -feature for details
[warn] two warnings found
[info] Compiling 39 Scala sources to /RISC-V/freedom/sifive-blocks/target/scala-2.11/classes…
[info] Compiling 5 Scala sources to /RISC-V/freedom/target/scala-2.11/classes…
[error] /RISC-V/freedom/src/main/scala/everywhere/e300artydevkit/Configs.scala:35: not found: type WithTLMonitors
[error] new WithTLMonitors ++
[error] ^
[error] one error found
[error] (freedomPlatforms/compile:compileIncremental) Compilation failed
[error] Total time: 189 s, completed 23-Dec-2016 15:30:57
make: *** [/RISC-V/freedom/builds/e300artydevkit/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.fir] Error 1 recipe for target ‘/RISC-V/freedom/builds/e300artydevkit/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.fir’ failed
stewart@Kubuntu-VirtualBox:/RISC-V/freedom$ grep WithTLMonitors e300artydevkit.verilog.log
[error] /RISC-V/freedom/src/main/scala/everywhere/e300artydevkit/Configs.scala:35: not found: type WithTLMonitors
[error] new WithTLMonitors ++

Am I missing something?

If I comment out this line in Configs.scala the make completes, but I don’t know if I am missing something important?

I cloned freedom with 'git clone
I cloned sifive-blocks with 'git clone
I cloned rocket-chip with ‘git clone
& ‘cd rocket-chip; git submodule update --init --recursive’


You shouldn’t need to separately clone the sifive-blocks and rocket-chip repos. Can you run git submodule update --init --recursive from within the freedom directory and try again? Make sure that git status shows no changes from within the submodules to check that the submodule versions are correct.

Thank you Richard. I removed the sifive-blocks and rocket-chip subdirectories, as ‘git submodule update --init --recursive’ reported that rocket-chip already existed and was not an empty directory (I have not used git much, there was probably a different variation I could have used), and then re-ran ‘git submodule update --init --recursive’. The make now runs without errors.