skyeye在ubuntu上配置全历程[Linux安全]
本文“skyeye在ubuntu上配置全历程[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
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.百度.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
成功了!!!!!!!!
以上是“skyeye在ubuntu上配置全历程[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |