在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: nokia70

ic613_patch

 关闭 [复制链接]
发表于 2010-2-2 08:53:17 | 显示全部楼层
Thanks very much !

PS: for "lyjren" #108
That errpr is because the sfk binary can not find the libc.so.6  . A good way to solve this problem is to update your glibc library. There are some other ways, so plese ask for help if needed...
发表于 2010-2-2 09:45:55 | 显示全部楼层
thnaks!!!!!!!!1
发表于 2010-2-2 10:43:01 | 显示全部楼层
#112楼,谢谢您
我在Redhat AS4.7不能执行,而且libc.so.6这个文件存在,
而在Redhat AS5.4就可以执行。
发表于 2010-2-2 12:15:35 | 显示全部楼层
#114

The ldd -> ldd - print shared library dependencies so it will show you the dependinces.

First, I would ask you to run " ldd sfk " .
This is my output :
ldd sfk
        linux-gate.so.1 =>  (0xb7fb7000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ebd000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7e97000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e8a000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7d2f000)
        /lib/ld-linux.so.2 (0xb7fb8000)

In case of  ( libc.so.6 => not found ), please verify that the simlink(I think it's a symlink) '/lib/tls/libc.so.6' is pointing to some file, and that file realy exist.

Just in case, please run this ' strings sfk | grep GCC '
mine it shows that it was compiled with GCC_3.0 version.

You can download sfk from http://sourceforge.net/projects/ ... -linux.exe/download  

Download the file.

Then run ' chmod +x sfk151-linux.exe ' (on tha new downloaded file. Don't worry, it's linux binary,not windows) and run it ./sfk151-linux.exe , and if it works, then replace the sfk with this one, you can see from documantation from sourgeforge, that it's not too old this version(1.5.1).
please verify that libc.so.6 is pointing to a file that do exist. You can see that by running ' ls -la /lib/lts/libc* ' and please look for it in /usr/lib , or /lib ,or /var/lib .
And one more thing please verify that you have

                               
登录/注册后可看大图
instaled, if not you can install them from add/remove GUI or in console.
Keep in touch
发表于 2010-2-2 13:05:17 | 显示全部楼层
多谢115楼的回答。
我按照你写的方法确认了,
[cdsmgr@qxl003 ~/patch]$ ldd sfk
./sfk: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./sfk)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0068c000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00389000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x005e5000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0025c000)
        /lib/ld-linux.so.2 (0x0023e000)
而且/lib/tls/libc.so.6 是链接到同一目录下的libc-2.3.4.so,执行以下命令
[cdsmgr@qxl003 tls]$ strings libc-2.3.4.so | grep GLIBC
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_PRIVATE
确实没有找到GLIBC_2.4,所以我想只要更新libc-2.3.4.so就可以解决这个问题?
我也下载了sfk151-linux.exe,执行的结果玉原来的sfk相同。

PS:我使用的OS是Redhat AS4.7,而且安装了所有的Package。
麻烦各位帮忙解决。
发表于 2010-2-2 20:28:08 | 显示全部楼层
Ok, first, you should try to compile the sfk(it's very easy), rather update glibc(because it's a very big update, other tools instaled on that machine will be in danger of not working in the future), so why compile ? Because it will compile with the your glibc version.
So first, download http://sourceforge.net/projects/ ... sfk145.zip/download and after that unzip the file, it will create the sfk145 directory, enter in it and run the command to compile it:
' g++ sfk.cpp patch.cpp inst.cpp -o sfk-compiled '. The warnings are not important, important is not to show error. If all is ok(I mean no error accurres) it will show up a new file 'sfk-compiled', try to run it if it works let me know...
keep in touch
发表于 2010-2-2 21:58:50 | 显示全部楼层
did that work? (I hope it will... )
发表于 2010-2-3 08:45:08 | 显示全部楼层
117楼,多谢。
已经确认可以执行sfk。
发表于 2010-2-3 18:00:17 | 显示全部楼层
119 #, welcome, I'm glad to hear that, did it work the patch with the compile sfk ?
发表于 2010-2-4 11:48:40 | 显示全部楼层
thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-15 07:29 , Processed in 0.022283 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表