baiguoshu 发表于 2007-5-26 12:50:06

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

分别执行
./configure --target=arm-elf --prefix=/usr/local
make
make install

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

详细输出比较多发到附件里,麻烦高手指点一下,这里多谢了!
遗憾附件加不进去。

creatop 发表于 2007-5-27 11:06:31

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

我已经在FC6上成功安装了

baiguoshu 发表于 2007-5-28 14:40:18

FC6下安装1_2_2_rel 出现问题如下:
# ls
binutils-2.11.2          skyeye089_configure~      skyeye_1_2_2_Rel
binutils-2.11.2.tar.bz2skyeye089_make_info         Desktop                  skyeye089_makeinstall_infoskyeye089_configure      skyeye-0.9.8
# cd skyeye_*
# ls
arch    ChangeLogdbct    LICENSE      MakefileTODO
binaryCOPYING    deviceMAINTAINERSREADME    utils
# 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: *** 错误 1
#

baiguoshu 发表于 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: Leaving directory `/home/david/binutils-2.11.2/binutils'
make: Leaving directory `/home/david/binutils-2.11.2/binutils'
make: Leaving directory `/home/david/binutils-2.11.2/binutils'
make: Entering directory `/home/david/binutils-2.11.2/etc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/david/binutils-2.11.2/etc'
make: Entering directory `/home/david/binutils-2.11.2/gas'
makeall-recursive
make: Entering directory `/home/david/binutils-2.11.2/gas'
Making all in doc
make: Entering directory `/home/david/binutils-2.11.2/gas/doc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/david/binutils-2.11.2/gas/doc'
Making all in po
make: Entering directory `/home/david/binutils-2.11.2/gas/po'
make: Nothing to be done for `all'.
make: Leaving directory `/home/david/binutils-2.11.2/gas/po'
make: 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: *** 错误 1
make: Leaving directory `/home/david/binutils-2.11.2/gas'
make: *** 错误 1
make: Leaving directory `/home/david/binutils-2.11.2/gas'
make: *** 错误 2
make: Leaving directory `/home/david/binutils-2.11.2/gas'
make: *** 错误 2
#

creatop 发表于 2007-5-29 09:31:35

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

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

baiguoshu 发表于 2007-5-29 17:16:46

请看看我写的另外一篇帖子http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=178740谢谢 使用make NO_BFD=1编译成功
页: [1]
查看完整版本: 请教FC6环境下安装skyeye没有生成skyeye文件