蓝点工坊(http://www.bluedrum.cn) 创始人,App和嵌入式产品开发。同时也做相应培训和外包工作。 详细介绍 http://pan.baidu.com/s/1y2g88
全部博文(311)
分类: 嵌入式
2010-11-07 17:27:38
[root@huisen JLink_Linux_V420h]# ls 45-jlink.rules JLinkGDBServer libjlinkarm.so.4 README JLinkExe JLink.log libjlinkarm.so.4.20.8 start |
./start ./JLinkExe: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: PC |
undefined symbol: PC (/usr/lib/libreadline.so.5.2) undefined symbol: UP (/usr/lib/libreadline.so.5.2) undefined symbol: BC (/usr/lib/libreadline.so.5.2) undefined symbol: tgetflag (/usr/lib/libreadline.so.5.2) undefined symbol: tgetent (/usr/lib/libreadline.so.5.2) undefined symbol: tputs (/usr/lib/libreadline.so.5.2) undefined symbol: tgoto (/usr/lib/libreadline.so.5.2) undefined symbol: tgetnum (/usr/lib/libreadline.so.5.2) undefined symbol: tgetstr (/usr/lib/libreadline.so.5.2) |
readelf -a /usr/lib/libncurses.so | grep PC 02c1133c 0000f806 R_386_GLOB_DAT 02c12778 PC 248: 02c12778 1 OBJECT GLOBAL DEFAULT 23 PC |
readelf -a /usr/lib/libncurses.so | grep UP 02c1138c 00024b06 R_386_GLOB_DAT 02c12540 UP 587: 02c12540 4 OBJECT GLOBAL DEFAULT 23 UP |
ldd -r /usr/lib/libreadline.so.5 | grep und undefined symbol: PC (/usr/lib/libreadline.so.5) undefined symbol: UP (/usr/lib/libreadline.so.5) undefined symbol: BC (/usr/lib/libreadline.so.5) undefined symbol: tgetflag (/usr/lib/libreadline.so.5) undefined symbol: tgetent (/usr/lib/libreadline.so.5) undefined symbol: tputs (/usr/lib/libreadline.so.5) undefined symbol: tgoto (/usr/lib/libreadline.so.5) undefined symbol: tgetnum (/usr/lib/libreadline.so.5) undefined symbol: tgetstr (/usr/lib/libreadline.so.5) |
[root@huisen JLink_Linux_V420h]# readelf -a JLinkExe | grep NEEDED 0x00000001 (NEEDED) Shared library: [libjlinkarm.so.4] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libusb-0.1.so.4] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libreadline.so.5] 0x00000001 (NEEDED) Shared library: [libc.so.6] |
# readelf -a /usr/lib/libreadline.so.5 | grep NEEDED 0x00000001 (NEEDED) Shared library: [libc.so.6] |
readelf -a /usr/lib/libreadline.so.5 | grep NEEDED 0x00000001 (NEEDED) Shared library: [libncurses.so.5] 0x00000001 (NEEDED) Shared library: [libc.so.6] |
./start SEGGER J-Link Commander V4.20h ('?' for help) Compiled Oct 19 2010 14:02:03 Can not connect to J-Link via USB. |