系统版本:Ubuntu 20.04.3 LTS
内核版本:5.10.102.1-microsoft-standard-WSL2
MRS工具链版本:MRS_Toolchain_Linux_x64_V1.40(于2022年4月6日晚在官网下载)
问题描述:在MRS_Toolchain_Linux_x64_V1.40/OpenOCD/bin目录下运行下面命令启动openocd失败
$ sudo ./openocd -f wch-riscv.cfg
./openocd: symbol lookup error: ./openocd: undefined symbol: jaylink_device_get_u***_bus_ports
尝试安装libjaylink-dev后依然失败
$ sudo apt install libjaylink-dev
$ sudo ./openocd -f wch-riscv.cfg
./openocd: symbol lookup error: ./openocd: undefined symbol: jaylink_device_get_u***_bus_ports
libjaylink-dev版本0.1.0-3
$ sudo apt search libjaylink-dev
Sor
ting... Done
Full Text Search... Done
libjaylink-dev/focal,now 0.1.0-3 amd64 [installed]
library for interacting with J-Link programmers (development files)
猜测是libjaylink-dev api不对引起的问题,希望给出解决方案,谢谢