[Skyeye-developer] Re: Hello

Anthony Lee don.anthony.lee at gmail.com
Mon Sep 17 00:56:36 CST 2007


Hi,

这是你提交错误信息的几个回复及其原因。

问题一:提示机器不支持 x86 汇编代码编译。
回复:因为原来写的检测脚本忘了去掉 BFD_LIB,所以检测错误的以为不支持 x86 ASM,其实是支持的(在
utils/scripts/check-x86-asm.sh 中去掉 $BFD_LIB),现在 SVN 上的代码这个问题已经修正了。

问题二:提示机器没有 BFD 开发库。
回复:也就是你没有安装 binutils-devel,安装了以后就没有这个提示了;其实 BFD 库在 SkyEye 中只扮演载入 elf
文件内容的角色,通过 make NO_BFD=1 后照样可以使用,现在在SVN上的代码此两者区别仅仅是没有 BFD
库时不支持新添加的反汇编功能而已,没有 BFD 也照样可以读入 blackfin,ppc,mips以及 arm 平台的 little/big
endian 的 elf 文件。

问题三:提示链接 pow,log 等函数失败以及 ppc 实现中的一个函数失败。
回复:此问题在 SVN 上的代码已经修正,解决方法为在 Makefile 中添加 -lm,在那个提示没有 ppc_xxx 的文件中注释掉那一行。

On 9/16/07, Yu Chen <chyyuu at gmail.com> wrote:
> 我觉得你是缺了bfd的软件包和使用的skyeye中有一些小bug造成的。建议你安装bfd相关软件包,用gcc-3.3.x,和老一点的(skyeye1.2.3以前的)试试。
>
> 2007/9/16, 任经纬 <poorren at gmail.com>:
> > Hi Chenyu,
> > I'm a freshman to skyeye project.
> > Currently, I'm trying to install skyeye 1.2.3 on hiweed debian.
> > The debian core version is 2.6.8-2-686.
> > I encounter some problems in the install process.
> > The following is the error log.
> > It seems that there's some problem with my compiler.
> > Could you help me figure out what's the problem?
> > Thanks advance !!!
> >
> > Regards,
> > Jingwei
> >
> > ERROR LOG:
> > When I use make to compile the source, the following error message appears.
> >
> > root# make
> >
> >
> > --------------------------- NOTICE ------------------------------
> > If you always get error, please run "make NO_CHECK=1" instead.
> > -----------------------------------------------------------------
> > Checking whether host is big endian ... no
> > Checking gcc ... OK ( gcc version: 3.3.5 )
> > Checking whether the compiler supports x86 asm ... FAILED
> >
> > *** It seems that the compiler don't support inline x86 AT&T ASM codes.
> > *** Run "make NO_DBCT=1" instead to ignore it.
> >
> >
> >
> > Then,I try to compile with following option, it still fails.
> >
> > root# make NO_DBCT=1
> >
> > --------------------------- NOTICE ------------------------------
> > If you always get error, please run "make NO_CHECK=1" instead.
> > -----------------------------------------------------------------
> > Checking whether host is big endian ... no
> > Checking gcc ... OK ( gcc version: 3.3.5 )
> > Checking bfd library ... FAILED
> >
> > *** It seems that you don't have bfd library.
> > *** Run "make NO_BFD=1" instead to ignore it.
> >
> >
> >
> > change the option, it fails again.
> >
> > root# make NO_BFD=1
> >
> > --------------------------- NOTICE ------------------------------
> > If you always get error, please run "make NO_CHECK=1" instead.
> > -----------------------------------------------------------------
> > Checking whether host is big endian ... no
> > Checking gcc ... OK ( gcc version: 3.3.5 )
> > Checking whether the compiler supports x86 asm ... OK
> > -----------------------------------------------------------------
> > gcc -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET
> > -DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu -I
> > arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I arch/coldfire/common
> > -I device -I device/net -I device/lcd -I device/flash -I device/uart -I
> > utils -I utils/share -I utils/main -I utils/config -I utils/debugger  -DARM
> > -I. -DNO_BFD -DNO_LCD -o binary/skyeye binary/skyeye.o \
> >  --start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire -lmips -lppc
> > --end-group
> >
>
>
> --
> Best Regards
> ==============================================
> Chen Yu
> Laboratory of Pervasive Computing,
> Dept. of Computer Science and Technology
> Tsinghua University, Beijing 100084, P.R. China
> E-Mail: mailto:yuchen at tsinghua.edu.cn  chyyuu at gmail.com
> ==============================================
>
> _______________________________________________
> CLinux.org Websites:
> http://seohelper.cn/
> http://www.implight.net/
> http://gro.clinux.org/
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
>


More information about the Skyeye-developer mailing list