Chinaunix首页 | 论坛 | 博客
  • 博客访问: 830425
  • 博文数量: 85
  • 博客积分: 10016
  • 博客等级: 上将
  • 技术积分: 952
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-19 22:52
文章分类

全部博文(85)

文章存档

2011年(1)

2008年(1)

2007年(60)

2006年(23)

我的朋友

分类: LINUX

2006-12-12 21:36:24

Install SkyEye on Cygwin

1.Download source code package of skyeye

   

 

2.Read README to get start with skyeye and learn how to install it:

    Just edit Makefile to comment Line 23 in Makefile, then make.

 

3.Problems & Solutions:

arch/arm/mach/skyeye_mach_ps7500.c:50:26: mpw/sys/time.h: No such file or direct
ory
make: *** [binary/skyeye_mach_ps7500.o]
错误 1

 

解决办法:修改skyeye_mach_ps7500.c,将

#ifdef __CYGWIN__
#include
#endif

第二行改为#include

事实上,该文件是针对ps7500处理器的,如果用不到,则可以不care

 

–c device/lcd/skyeye_lcd_gtk.c –o binary/skyeye_lcd_gtk.o ‘pkg-config gtk+-2.0 --cflags’

       Package atk was not found in the pkg-config search path.

       Perhaps you should add the directory conotaining ‘atk.pc’ to the PKG_CONFIG_PATH environment variable.

       Package ‘atk’, required by ‘GTK+’, not found

       ......

       ........(atk 相关头文件): File not found.

       ......

       device/lcd/skyeye_lcd_gtk.c: In function ‘gtk_lcd_close’:

       device/lcd/skyeye_lcd_gtk.c:435:warning: passing arg 1 of ‘gdk_rgb_cmap_free’ from incompatible pointer type

       make: *** [binary/skyeye_lcd_gtk.o] 错误 1

 

原因:缺少atk-dev

解决办法:从 下载atk-1.8.0.tar.gz并安装;需要glib2.0以上。
若是atk-1.9.1,需要glib2.6以上。
# ./configure --prefix=/usr –-sysconfdir=/etc
# make
# make install
 
4.Installation accomplished:
    You can find the executable binary file called skyeye.exe in binary directory,
and type the command of “binary/skyeye -h”so as to list the command options for
skyeye and the CPUs simulated by skyeye.
 
5.Other References:
      Packages required by Skyeye:
     gtk+-2.0-dev pkg-config atk-dev pango-dev freetype2-dev glib-dev x11-dev binutils-dev(bfd)
     You can check whether the required version of atk is actually installed 
by typing “pkg-config –-list-all”.
      You can also go to IBM Open-source Developer Zone for more information 
about Skyeye ().


本地下载
atk-1.8.0,下载后修改文件名为atk-1.8.0.tar.bz2。
 
阅读(5271) | 评论(6) | 转发(0) |
给主人留下些什么吧!~~