Chinaunix首页 | 论坛 | 博客
  • 博客访问: 90100
  • 博文数量: 22
  • 博客积分: 2810
  • 博客等级: 少校
  • 技术积分: 230
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 15:33
文章分类

全部博文(22)

文章存档

2011年(2)

2010年(6)

2009年(14)

我的朋友
最近访客

分类: 嵌入式

2010-01-14 23:22:54

 
1.下载skyeye-1.3.0_rc1.tar,下载地址为
 
2.执行准备工作,由于ubuntu里面库文件严重不全所以在编译前先进行如下工作
sudo apt-get install libgtk2.0-dev pkg-config libatk1.0-dev libpango1.0-dev libfreetype6-dev libglib2.0-dev libx11-dev binutils-dev libncurses5-dev libxpm-dev

3.在ubuntu9.10中 解压,进入目录

依次执行如下命令
./configure
make lib
make
make install
make install_lib
安装成功
输入命令skyeye,就出现下面的提示符

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
.
Type "help" to get command list.
 In SKY_load_module, file not found
In SKY_load_all_modules, Can not load module from file libdisasm.so.
(skyeye)

ps:可能出现的错误

 
1.
其中执行make时候若出现如下错误:
   gui/x.cc: In member function ‘virtual void bx_x_gui_c::specific_init(int,      char**, unsigned int, unsigned int, unsigned int)’:
   gui/x.cc:485: error: ‘XCreatePixmapFromData’ was not declared in this    scope
 
那么 执行此命令即可 sudo aptitude install libxpm-dev
如果还有其他错误,你可以把下面这些依赖包安装上

2.
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `PC'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetflag'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetent'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `UP'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tputs'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgoto'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetnum'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `BC'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [skyeye] 错误 1
make[2]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make: *** [all] 错误 2

主要是缺少termcap库文件,在终端里执行sudo apt-get install libncurses5-dev安装,然后重新编译出错的文
PS:如果各位在编译中还遇到其他麻烦可以留言给我,我会尽力帮你解决的。


 
附件为skyeye使用手册:

文件: skyeyev3_usermanual-v4.pdf
大小: 463KB
下载: 下载
 
参考:
阅读(2152) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~