Problem while executing a Makefile

i'm installing the Rocket-Chip repository. I'm following the instructions from . The instructions are:

$ git clone
$ cd rocket-chip
$ git submodule update --init
$ export RISCV=/path/to/riscv/toolchain/installation
$ git clone
$ cd rocket-tools
$ git submodule update --init --recursive
$ export RISCV=/path/to/install/riscv/toolchain
$ export MAKEFLAGS="$MAKEFLAGS -jN" # Assuming you have N cores on your host
system
$ ./build.sh

When i launch the last command, i have these errors and warnings:

Makefile:5347: warning: rewriting of the instruction set for "check-
recursive"
Makefile:4181: warning: ignoring of the instruction old set for "check-
recursive"
ar: `u' modifier ignored since `D' is the default (see `U')
...
/usr/bin/mkdir: cannot create directory "/path": Permission denied
make[3]: *** [Makefile:4130: install-dist_ulinkDATA] Error 1
make[3]: *** Waiting for non terminated processes....
/usr/bin/mkdir: cannot create directory "/path": Permission denied
make[3]: *** [Makefile:4929: install-info-am] Error 1
make[2]: *** [Makefile:4489: install-am] Error 2
make[1]: *** [Makefile:4181: install-recursive] Error 1
make: *** [Makefile:4483: install] Error 2

I've checked all the permission of the files and the folders the makefile is interested to, but it doesn't work at all. Someone can help me please?

7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like