QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1914|回复: 2

FC7下安装skyeye出错...请教

[复制链接]
发表于 2007-10-8 20:35:56 | 显示全部楼层 |阅读模式
# ./configure --target=arm-elf --prefix=/usr/local
.
.
.
Configuring utils...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnu
creating ./config.status
creating Makefile

#make
.
.
.
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/mengtian/Download/skyeye/sim/common'
make[2]: Entering directory `/home/mengtian/Download/skyeye/sim/arm'
gcc ./../common/gentmap.c -o gentmap -g -O -I. -I. -I../common -I./../common -I../../include -I./../../include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I../../intl -I./../../intl -I./../../include/gdb
./../common/gentmap.c: 在函数 ‘main’ 中:
./../common/gentmap.c:115: 警告:隐式声明与内建函数 ‘abort’ 不兼容
./../common/gentmap.c:124: 警告:隐式声明与内建函数 ‘exit’ 不兼容
rm -f tmp-tvals.h tmp-tmap.c
./gentmap -h >tmp-tvals.h
/bin/sh ./../../move-if-change tmp-tvals.h targ-vals.h
targ-vals.h is unchanged
./gentmap -c >tmp-tmap.c
/bin/sh ./../../move-if-change tmp-tmap.c targ-map.c
targ-map.c is unchanged
touch stamp-tvals
gcc -DHAVE_CONFIG_H               -DDEFAULT_INLINE=0           -DMODET `pkg-config gtk+-2.0 --cflags` -I -I./../../include/gdb   -I. -I. -I../common -I./../common -I../../include -I./../../include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I../../intl -I./../../intl -I./../../include/gdb -g -O2 -o run \
          run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a -lnsl  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   `pkg-config gtk+-2.0 --libs`
libsim.a(wrapper.o): In function `tea_print_insn':
/home/mengtian/Download/skyeye/sim/arm/wrapper.c:359: undefined reference to `print_insn_big_arm'
/home/mengtian/Download/skyeye/sim/arm/wrapper.c:362: undefined reference to `print_insn_little_arm'
collect2: ld 返回 1
make[2]: *** [run] 错误 1
make[2]: Leaving directory `/home/mengtian/Download/skyeye/sim/arm'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/mengtian/Download/skyeye/sim'
make: *** [all-sim] 错误 2

有什么问题吗?谢帮忙看看 如何解决?
这个SkyEye   0.8.. 8

另外安装1.23版本时:
出现信息如下:
[root@localhost skyeye_1_2_3_Rel]# 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: 4.1.2 )
Checking whether the compiler supports x86 asm ... OK
Checking bfd library ... 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. -DGTK_LCD -o binary/skyeye binary/skyeye.o \
                --start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire -lmips -lppc  -lbfd -liberty --end-group  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
****
**** The binary file located at 'binary/skyeye', enjoy it.
****
binary 已经生成skyeye 但是不能使用命令 skyeye
直接./skyeye 就可以,是不是安装出现问题了?????
[root@localhost binary]# ./skyeye

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
Failed to open skyeye config file skyeye.conf in the same directory
error: No such file or directory
------------------------- SkyEye -V1.2 ---------------------------
Usage: SkyEye [options] -e program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-l load_address,load_address_mask
                    Load ELF file to another address, not its entry.
-b                  specify the data type is big endian when non "-e" option.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  The SkyEye command options, and ARCHs and CPUs simulated.
------------------------------------------------------------------
----------- Architectures and CPUs simulated by SkyEye-------------
-------- ARM architectures ---------

[ 本帖最后由 mengtian 于 2007-10-8 20:48 编辑 ]
发表于 2007-10-30 21:53:27 | 显示全部楼层
没有问题!完全正常!
回复

使用道具 举报

发表于 2007-10-30 22:52:48 | 显示全部楼层
You can try SkyEye according to the following document:
http://skyeye.wiki.sourceforge.net/Linux#tocLinux0
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 12:24 , Processed in 0.073298 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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