suibianusername 发表于 2009-11-27 14:23:30

skyeye1.2.9运行出错

skyeye-1.2.9安装在redhat9上,运行arm_hello出错

# /opt/skyeye/bin/skyeye -e hello
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 note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
pen_buffer not implemented.
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0x409fe9e4

uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Child:: Bad address

suibianusername 发表于 2009-11-27 16:56:31

找到了,在函数static int create_term(char * hostname, int port)中修改:

修改前:int ret = execlp("xterm","xterm", "-e", uart_instance_prog, hostname, port_str);
修改后:int ret = execlp("xterm","xterm", "-e", uart_instance_prog, hostname, port_str,NULL);
页: [1]
查看完整版本: skyeye1.2.9运行出错