-
Notifications
You must be signed in to change notification settings - Fork 447
riscv-tools build.sh failed #347
Comments
riscv-tools is unmaintained and stopped building a while ago. You might want to avoid using it. If you do want to use it, you should update the submodules as they are all 2+ years old. Just cd into each subdir, git checkout master, and then git pull, to get recent copies of them. If you want to double check, you can use git log -1 before and after to see the last commit. |
thanks, I should download riscv-gnu-toolchain. |
Hi,I have installed riscv-gnu-toolchain, and the path of $RISCV have checked ,and already update the submodule and checked each file name.But the build.sh failed: Starting RISC-V Toolchain build process Removing existing riscv-openocd/build directory what should I do to build tools ? |
There is a build log in the riscv-openocd dir you can try looking at. But in general, riscv-tools isn't expected to build anymore because it has been unmaintained for too long. |
Thanks a lots for your suggestion ! |
Hi, failed log like blow:
/usr/bin/ld: src/.libs/libopenocd.a(libocdjtagdrivers_la-bitbang.o):/home/fso/riscv-tools/riscv-openocd/build/../src/jtag/drivers/bitbang.h:60: multiple definition of `bitbang_swd'; src/.libs/libopenocd.a(libocdjtagdrivers_la-remote_bitbang.o):/home/fso/riscv-tools/riscv-openocd/build/../src/jtag/drivers/bitbang.h:60: first defined here
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:2897: src/openocd] Error 1
gmake[1]: *** [Makefile:4181: all-recursive] Error 1
gmake: *** [Makefile:1953: all] Error 2
Thanks
The text was updated successfully, but these errors were encountered: