IT猫扑网:您身边最放心的安全下载站! 最新更新| 软件分类| 专题汇总| 手机版

您当前所在位置:IT猫扑网 > 操作系统 > LINUX > skyeye在ubuntu上配置全过程

skyeye在ubuntu上配置全过程

时间:2015-06-28 00:00 来源:IT猫扑网|http://www.itmop.com/ 作者:网管联盟 我要评论(0)

  1、下载skyeye-1.3.0_rc1.tar.gz

  2、解压缩:tar xzvf skyeye-1.3.0_rc1.tar.gz

  3、cd  skyeye-1.3.0_rc1

  4、./configure

  在./configure的过程中出现了问题

  错误提示是缺少c++编译器,于是乎apt-get intall g++,解决之

  5、make lib 此处没有出错,但是时间很长

  6、make   时间依旧很长,出了些问题

  gui/x.cc:89: error: expected constructor, destructor, or type conversion before ‘*’ token

  gui/x.cc:91: error: expected initializer before ‘*’ token

  gui/x.cc:92: error: ‘Colormap’ does not name a type

  gui/x.cc:101: error: ‘Window’ does not name a type

  gui/x.cc:102: error: ‘GC’ does not name a type

  gui/x.cc:107: error: expected initializer before ‘*’ token

  gui/x.cc:134: error: ‘Pixmap’ does not name a type

  gui/x.cc:137: error: ‘Pixmap’ does not name a type

  gui/x.cc:144: error: ‘Pixmap’ does not name a type

  gui/x.cc:301: error: variable or field ‘xkeypress’ declared void

  gui/x.cc:301: error: ‘KeySym’ was not declared in this scope

  gui/x.cc:301: error: expected primary-expression before ‘int’

  gui/x.cc:325: error: ‘Colormap’ was not declared in this scope

  gui/x.cc:325: error: expected primary-expression before ‘n_tries’

  gui/x.cc:325: error: initializer expression list treated as compound expression

  gui/x.cc:325: error: expected ‘,’ or ‘;’ before ‘{’ token

  安装apt-get install libxpm-dev之后又出现了

  /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

  根据http://hi.baidu.com/tihu1111/blog/item/9f3a0fa716348f98d1435857.html的建议,

  主要是缺少termcap库文件,在终端里执行sudo apt-get install libncurses5-dev安装

  7、sudo make install

  此处加sudo是因为需要向某个目录底下写文件,所以需要管理员帐户

  8、sudo make install_lib

  OK

  这时候在目录/opt/skyeye/下存在下面的目录

  bin conf include info lib testsuite

  bin目录下存放的是skyeye的二进制的程序。

  mknandFlashdump : 用来制作nandflash的镜像文件

  skyeye :skyeye的命令行应用程序

  Skyeye-gui: skyeye的图形应用程序

  uart_instance : 被skyeye调用的应用程序,功能为通过一个xterm终端来显示串口的输出

  conf目录存放了针对已经支持的目标板的一些配置文件

  include目录存放了skyeye开发插件时所用到的头文件

  info目录存放了info格式的文档

  Lib目录存放了skyeye的核心库libcommon.so和其他一些以动态库存在的插件

  testsuite目录存放了一个简单的测试用例

  9、skyeye

  在/opt/skyeye/testsuite下有个目录arm_hello

  skyeye –e vmlinux –c skyeye.conf 启动arm-linux

  还可以把bin下的skyeye拷到/usr/bin中,这样就可以不进目录了

  9,start,这个命令启动,但是有问题,提示配置文件skyeye.conf没有配置

  这样在/opt/skyeye/testsuite/arm_hello下,执行skyeye->start->skyeye -e arm_hello

  这时出现uart-instance窗体,

  根据skyeye的使用手册,输入run测试,此处的run是在ubuntu的终端输入的,不是uart-instance

  此时会在uart-instance中出现一堆helloworld

  成功了!!!!!!!!

关键词标签:ubuntu,skyeye

相关阅读 安装红帽子RedHat Linux9.0操作系统教程 Tomcat9.0如何安装_Tomcat9.0环境变量配置方法 多种操作系统NTP客户端配置 Linux操作系统修改IP Linux实现SCSI硬盘热插拔及在线识别 Linux下用CDMA modem拨号上网

文章评论
发表评论

热门文章 安装红帽子RedHat Linux9.0操作系统教程 安装红帽子RedHat Linux9.0操作系统教程 Linux服务器:设计高性能网站架构-LLMP Linux服务器:设计高性能网站架构-LLMP 使用Clonezilla迁移到虚拟Linux环境 使用Clonezilla迁移到虚拟Linux环境 Linux上的MRTG流量监控中心 Linux上的MRTG流量监控中心 Linux 双网卡绑定一个IP原理及实现 Linux 双网卡绑定一个IP原理及实现 linux和windows等系统远程控制ubuntu桌面 linux和windows等系统远程控制ubuntu桌面

相关下载

人气排行 Linux下获取CPUID、硬盘序列号与MAC地址 dmidecode命令查看内存型号 linux tc实现ip流量限制 安装红帽子RedHat Linux9.0操作系统教程 linux下解压rar文件 lcx.exe、nc.exe、sc.exe入侵中的使用方法 Ubuntu linux 关机、重启、注销 命令 查看linux服务器硬盘IO读写负载 linux命令行浏览器的使用方法 Linux NFS服务固定端口及防火墙配置 U盘安装Ubuntu 10.04 Linux清除用户登录记录和命令历史方法