QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1743|回复: 5

请教FC6环境下安装skyeye没有生成skyeye文件

[复制链接]
发表于 2007-5-26 12:50:06 | 显示全部楼层 |阅读模式
分别执行
./configure --target=arm-elf --prefix=/usr/local
make
make install

最后输出信息为:
make[4]: Leaving directory `/home/david/skyeye-0.9.8/gdb/doc'
make[4]: Entering directory `/home/david/skyeye-0.9.8/gdb/testsuite'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/david/skyeye-0.9.8/gdb/testsuite'
make[4]: Entering directory `/home/david/skyeye-0.9.8/gdb/rdi-share'
make[4]: Leaving directory `/home/david/skyeye-0.9.8/gdb/rdi-share'
make[3]: Leaving directory `/home/david/skyeye-0.9.8/gdb'
make[2]: Leaving directory `/home/david/skyeye-0.9.8/gdb'
make[1]: Nothing to be done for `install-target'.
make[1]: Leaving directory `/home/david/skyeye-0.9.8'
但是找不到生成的skyeye文件。

详细输出比较多发到附件里,麻烦高手指点一下,这里多谢了!
遗憾附件加不进去。
发表于 2007-5-27 11:06:31 | 显示全部楼层

去下个最新的版本吧,1_2_2Rel

我已经在FC6上成功安装了
回复

使用道具 举报

 楼主| 发表于 2007-5-28 14:40:18 | 显示全部楼层
FC6下安装1_2_2_rel 出现问题如下:
[root@localhost david]# ls
binutils-2.11.2          skyeye089_configure~        skyeye_1_2_2_Rel
binutils-2.11.2.tar.bz2  skyeye089_make_info         Desktop                  skyeye089_makeinstall_info  skyeye089_configure      skyeye-0.9.8
[root@localhost david]# cd skyeye_*
[root@localhost skyeye_1_2_2_Rel]# ls
arch    ChangeLog  dbct    LICENSE      Makefile  TODO
binary  COPYING    device  MAINTAINERS  README    utils
[root@localhost skyeye_1_2_2_Rel]# make
gcc -c utils/main/skyeye.c -o binary/skyeye.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 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
utils/main/skyeye.c:297:17: 错误:bfd.h:没有那个文件或目录
utils/main/skyeye.c: 在函数 ‘tea_load_exec’ 中:
utils/main/skyeye.c:303: 错误:‘bfd’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:303: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
utils/main/skyeye.c:303: 错误:所在的函数内只报告一次。)
utils/main/skyeye.c:303: 错误:‘tmp_bfd’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:304: 错误:‘asection’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:304: 错误:‘s’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:314: 错误:‘bfd_object’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:317: 错误:‘bfd_error_file_ambiguously_recognized’ 未声明 (在此函数内第一次使用)
utils/main/skyeye.c:328: 错误:‘SEC_LOAD’ 未声明 (在此函数内第一次使用)
make: *** [binary/skyeye.o] 错误 1
[root@localhost skyeye_1_2_2_Rel]#
回复

使用道具 举报

 楼主| 发表于 2007-5-28 14:49:27 | 显示全部楼层
另一个帖子说要安装binutils-2.16.tar.tar
我下载--解压--
./configure
make
make时报错如下,清高手指点一二:

bfd.a ../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
/home/david/binutils-2.11.2/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
echo '/*WARNING: This file is automatically generated!*/' >underscore.t
echo "int prepends_underscore = 0;" >>underscore.t
/bin/sh ./../move-if-change underscore.t underscore.c
underscore.c is unchanged
touch stamp-under
sed -e 's/@PROGRAM@/c++filt/' < ./cxxfilt.man \
                > c++filt.1
make[3]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[2]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[1]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[1]: Entering directory `/home/david/binutils-2.11.2/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/david/binutils-2.11.2/etc'
make[1]: Entering directory `/home/david/binutils-2.11.2/gas'
make  all-recursive
make[2]: Entering directory `/home/david/binutils-2.11.2/gas'
Making all in doc
make[3]: Entering directory `/home/david/binutils-2.11.2/gas/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas/doc'
Making all in po
make[3]: Entering directory `/home/david/binutils-2.11.2/gas/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas/po'
make[3]: Entering directory `/home/david/binutils-2.11.2/gas'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../bfd -I./../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall -g -O2 -c app.c
In file included from ./targ-cpu.h:1,
                 from ./config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ./config/te-linux.h:4,
                 from targ-env.h:1,
                 from as.h:624,
                 from app.c:30:
./config/tc-i386.h:508: 错误:数组元素的类型不完全
make[3]: *** [app.o] 错误 1
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/david/binutils-2.11.2/gas'
make[1]: *** [all-recursive-am] 错误 2
make[1]: Leaving directory `/home/david/binutils-2.11.2/gas'
make: *** [all-gas] 错误 2
[root@localhost binutils-2.11.2]#
回复

使用道具 举报

发表于 2007-5-29 09:31:35 | 显示全部楼层

还make 什么呀,有rpm包不用?

请看看我写的另外一篇帖子http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=178740
回复

使用道具 举报

 楼主| 发表于 2007-5-29 17:16:46 | 显示全部楼层
[quote:27a86b2f77="creatop"]请看看我写的另外一篇帖子http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=178740[/quote]谢谢 使用make NO_BFD=1编译成功
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-29 18:50 , Processed in 0.069401 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表