-
Notifications
You must be signed in to change notification settings - Fork 58
Failed to build openocd #11
Copy link
Copy link
Open
Description
When running ./build.sh, I get the following error while openocd is being build:
/usr/bin/ld: src/.libs/libopenocd.a(libocdjtagdrivers_la-bitbang.o):/home/matt/clones/rocket-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/matt/clones/rocket-tools/riscv-openocd/build/../src/jtag/drivers/bitbang.h:60: first defined here
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:2968: src/openocd] Error 1
gmake[1]: *** [Makefile:4285: all-recursive] Error 1
gmake: *** [Makefile:1999: all] Error 2
I'm using GCC 10.1.1 on Fedora 32
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels