[Skyeye-developer] Re: Hello

任经纬 poorren at gmail.com
Mon Sep 17 22:25:16 CST 2007


Hi Anthony,

好消息是,skyeye1.2.2可以顺利的编译,当然了,
要使用NO_BFD=1这个选项,多谢了

坏消息是,1.2.3的makefile还是行不通,
看下面的log,似乎还需要再改改!
还是多谢你了!


祝 顺利!

经纬
>>> LOG<<<
--------------------------- 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 -c arch/arm/common/armsym.c -o binary/armsym.o -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
arch/ppc/common -I device -I device/net -I device/lcd -I device/flash -I
device/uart -I device/nandflash -I utils -I utils/share -I utils/main -I
utils/config -I utils/debugger  -DARM  -I. -DNO_BFD -DNO_LCD
arch/arm/common/armsym.c:19:17: bfd.h: No such file or directory
arch/arm/common/armsym.c:31: error: parse error before '*' token
arch/arm/common/armsym.c:31: warning: data definition has no type or storage
class
arch/arm/common/armsym.c: In function `ARMul_InitSymTable':
arch/arm/common/armsym.c:171: error: `asymbol' undeclared (first use in this
function)
arch/arm/common/armsym.c:171: error: (Each undeclared identifier is reported
only once
arch/arm/common/armsym.c:171: error: for each function it appears in.)
arch/arm/common/armsym.c:171: error: `symptr' undeclared (first use in this
function)
arch/arm/common/armsym.c:173: error: `bfd' undeclared (first use in this
function)
arch/arm/common/armsym.c:173: error: `abfd' undeclared (first use in this
function)
arch/arm/common/armsym.c:188: error: `bfd_object' undeclared (first use in
this function)
arch/arm/common/armsym.c:200: error: parse error before ')' token
arch/arm/common/armsym.c:218: error: request for member `flags' in something
not a structure or union
arch/arm/common/armsym.c:219: error: request for member `flags' in something
not a structure or union
arch/arm/common/armsym.c:220: error: request for member `flags' in something
not a structure or union
arch/arm/common/armsym.c:239: error: request for member `name' in something
not a structure or union
arch/arm/common/armsym.c: In function `ARMul_ReportEnergy':
arch/arm/common/armsym.c:621: error: `asymbol' undeclared (first use in this
function)
arch/arm/common/armsym.c:621: error: `symptr' undeclared (first use in this
function)
arch/arm/common/armsym.c:632: error: request for member `flags' in something
not a structure or union
arch/arm/common/armsym.c:633: error: request for member `flags' in something
not a structure or union
arch/arm/common/armsym.c:634: error: request for member `flags' in something
not a structure or union
make: *** [binary/armsym.o] Error 1



在07-9-17,Anthony Lee <don.anthony.lee at gmail.com> 写道:
>
> 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
> >
> >
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070917/767f9afe/attachment-0001.htm


More information about the Skyeye-developer mailing list