Borton, Nick
2017-06-29 19:40:32 UTC
Hello,
I'm attempting to build OpenOCD from the git source on CentOS 6.6
I downloaded the source with the following: git clone https://git.code.sf.net/p/openocd/code openocd-code
Then ran the following:
./bootstrap
./configure --prefix=${PREFIX}
make all install
I am currently getting the following error:
libtool: link: gcc -std=gnu99 -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -o src/openocd src/main.o src/.libs/libopenocd.a ./jimtcl/libjim.a -ldl
src/.libs/libopenocd.a(mips32.o): In function `mips32_checksum_memory':
mips32.c:(.text+0x20fd): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32.o): In function `mips32_blank_check_memory':
mips32.c:(.text+0x2490): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32_pracc.o): In function `mips32_pracc_clean_text_jump':
mips32_pracc.c:(.text+0x269): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32_pracc.o): In function `mips32_pracc_fastdata_xfer':
mips32_pracc.c:(.text+0x2f2c): undefined reference to `pracc_swap16_array'
mips32_pracc.c:(.text+0x3099): undefined reference to `pracc_swap16_array'
collect2: ld returned 1 exit status
I'm assuming there is something silly I have wrong?
Thanks,
Nick
I'm attempting to build OpenOCD from the git source on CentOS 6.6
I downloaded the source with the following: git clone https://git.code.sf.net/p/openocd/code openocd-code
Then ran the following:
./bootstrap
./configure --prefix=${PREFIX}
make all install
I am currently getting the following error:
libtool: link: gcc -std=gnu99 -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -o src/openocd src/main.o src/.libs/libopenocd.a ./jimtcl/libjim.a -ldl
src/.libs/libopenocd.a(mips32.o): In function `mips32_checksum_memory':
mips32.c:(.text+0x20fd): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32.o): In function `mips32_blank_check_memory':
mips32.c:(.text+0x2490): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32_pracc.o): In function `mips32_pracc_clean_text_jump':
mips32_pracc.c:(.text+0x269): undefined reference to `pracc_swap16_array'
src/.libs/libopenocd.a(mips32_pracc.o): In function `mips32_pracc_fastdata_xfer':
mips32_pracc.c:(.text+0x2f2c): undefined reference to `pracc_swap16_array'
mips32_pracc.c:(.text+0x3099): undefined reference to `pracc_swap16_array'
collect2: ld returned 1 exit status
I'm assuming there is something silly I have wrong?
Thanks,
Nick