rocky1972 发表于 2007-5-5 10:39:18

FC6 安装skyeye1_2_2_Rel.tar.bz错误

环境:
         FC6
      线程模型:posix    gcc 版本 4.1.1 20061011 (Red Hat 4.1.1-30)


下载 skyeye1_2_2_Rel.tar.bz,解压,进入解压后的文件夹输入make后出现如下错误:

utils/main/skyeye.c:274:17: error: bfd.h: 没有那个文件或目录
utils/main/skyeye.c: In function ‘tea_load_exec’:
utils/main/skyeye.c:280: error: ‘bfd’ undeclared (first use in this function)
utils/main/skyeye.c:280: error: (Each undeclared identifier is reported only once
utils/main/skyeye.c:280: error: for each function it appears in.)
utils/main/skyeye.c:280: error: ‘tmp_bfd’ undeclared (first use in this function)
utils/main/skyeye.c:281: error: ‘asection’ undeclared (first use in this function)
utils/main/skyeye.c:281: error: ‘s’ undeclared (first use in this function)
utils/main/skyeye.c:291: error: ‘bfd_object’ undeclared (first use in this function)
utils/main/skyeye.c:294: error: ‘bfd_error_file_ambiguously_recognized’ undeclared (first use in this function)
utils/main/skyeye.c:305: error: ‘SEC_LOAD’ undeclared (first use in this function)

KSH版主在另一个同样问题的帖子中提示如下:
“有可能没有安装BFD的库。你也可以下载binutils的源码包,编译安装一下。”


于是我下载binutils-2.16.tar.tar,安装成功后,make distclean,再make 后又有新的错误:

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_DBCT -DGTK_LCD -o binary/skyeye binary/skyeye.o --start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire -lppc -lmips-lbfd -liberty --end-group-L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
/usr/local/bin/ld: unrecognized option '--hash-style=gnu'
/usr/local/bin/ld: use the --help option for usage information
collect2: ld 返回 1
make: *** 错误 1


请教版主这个问题该如何解决?谢谢您的时间。

lczzn2008 发表于 2007-5-16 16:11:52

我也是碰见同样的问题,希望各位高手能赐教,不胜感激!!

baiguoshu 发表于 2007-5-28 14:54:30

我也遇到类似问题,渴望高手指点!!!
页: [1]
查看完整版本: FC6 安装skyeye1_2_2_Rel.tar.bz错误