中国Linux公社论坛's Archiver

maskjp 发表于 2013-6-4 05:45

成功安装1.3.5,测试包中的程序总是报错?

[size=4][b]系统是ubuntu12.04,编译安装过程经过一番纠结后总算都没报错了,但是运行1.3.4testsuit里面的例子没有成功过。求解!?8O 8O 8O [/b][/size]
[size=4][b]除了helloworld,其他都是这样:[/b][/size]

b51a9000-b51aa000 rw-p 00002000 08:09 2635765    /opt/skyeye/lib/skyeye/libs3c2440.so.0.0.0
b51aa000-b51ac000 r-xp 00000000 08:09 2635834    /opt/skyeye/lib/skyeye/libgoldfish_tty.so.0.0.0
b51ac000-b51ad000 r--p 00001000 08:09 2635834    /opt/skyeye/lib/skyeye/libgoldfish_tty.so.0.0.0
b51ad000-b51ae000 rw-p 00002000 08:09 2635834    /opt/skyeye/lib/skyeye/libgoldfish_tty.so.0.0.0
b51ae000-b51af000 r-xp 00000000 08:09 2635821    /opt/skyeye/lib/skyeye/libgoldfish_interrupt.so.0.0.0
b51af000-b51b0000 r--p 00000000 08:09 2635821    /opt/skyeye/lib/skyeye/libgoldfish_interrupt.so.0.0.0
b51b0000-b51b1000 rw-p 00001000 08:09 2635821    /opt/skyeye/lib/skyeye/libgoldfish_interrupt.so.0.0.0
b51b1000-b51b3000 r-xp 00000000 08:09 2635692    /opt/skyeye/lib/skyeye/libcodecov.so.0.0.0tapif_init: icotl TUNSETIFF error已放弃 (核心已转储)
[b][size=5]android测试也不对[/size][/b]
jiangpeng@jp:~/Test/android_testsuite_stable$ sudo ./run_android.sh
[sudo] password for jiangpeng:
make nand....
rm: 无法删除"userdata.img": 没有那个文件或目录
rm: 无法删除"system.img": 没有那个文件或目录
rm: 无法删除"ramdisk.img": 没有那个文件或目录
./mkyaffs2: 1: ./mkyaffs2: Syntax error: word unexpected (expecting ")")
./mkyaffs2: 1: ./mkyaffs2: Syntax error: word unexpected (expecting ")")
./mkyaffs2: 1: ./mkyaffs2: Syntax error: word unexpected (expecting ")")
can't open ramdisk.img for readingSkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage [url=http://www.skyeye.org.]http://www.skyeye.org.[/url]
Type "help" to get command list.

[SkyEye Crashed]. Please report the following output to [email=skyeye-developer@lists.sourceforge.net]skyeye-developer@lists.sourceforge.net[/email].
In do_arch_option, Error: Unknowm architecture name "arm_dyncom" or you use low version of skyeye?

/opt/skyeye/lib/skyeye/libcommon.so.0(skyeye_log+0x115) [0xb77ace35]
/opt/skyeye/lib/skyeye/libcommon.so.0(+0xb7d8) [0xb77aa7d8]
/opt/skyeye/lib/skyeye/libcommon.so.0(parse_line_formatted+0x69) [0xb77aad69]
/opt/skyeye/lib/skyeye/libcommon.so.0(skyeye_read_config+0x317) [0xb77ab137]
/opt/skyeye/lib/skyeye/libcommon.so.0(SIM_start+0x3b) [0xb77a8ddb]
/opt/skyeye/lib/skyeye/libcommon.so.0(SIM_init+0x165) [0xb77a90c5]
/opt/skyeye/bin/emulator() [0x8048de7]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb75fc4d3]
/opt/skyeye/bin/emulator() [0x8048e79]
"arch" option parameter error!
Unknown option: run

Init nandflash dump file.
file size:1107296256

[[i] 本帖最后由 maskjp 于 2013-6-4 06:28 编辑 [/i]]

ksh 发表于 2013-6-8 08:20

我在suse 12.1上运行android测试skyeye-1.3.5成功。
你出现的运行android的错误“./mkyaffs2: 1: ./mkyaffs2: Syntax error: word unexpected (expecting ")")” , 是因为我们在android测试用例里面打包的mkyaffs2是一个64位的应用程序,你安装的ubuntu可能是32位的,所以运行出错。你可以想办法获得一个32位的mkyaffs2来代替android测试用例包中的程序。关于这个问题,我们已经验证并报告bug到我們的bug跟踪列表中,如下链接
[url]https://sourceforge.net/p/skyeye/bugs/112/[/url]

另外运行android测试用例,需要安装llvm-3.0。我们在发布的时候在ubuntu和suse上都测试过,应该是可以运行的。
运行截图如附件

[[i] 本帖最后由 ksh 于 2013-6-8 08:23 编辑 [/i]]

页: [1]

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.