快速业务通道

skyeye在ubuntu上配置全过程

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-18

  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的镜像文件

 

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号