Ubuntu下用skyeye运行OKL4[Linux安全]
本文“Ubuntu下用skyeye运行OKL4[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
Ubuntu下用skyeye运行OKL4的一些历程记录:
1、下载需求的组件
1、skyeye-1.3.0_rc1.tar: http://nchc.dl.sourceforge.net/project/skyeye/skyeye/skyeye-1.3.0_rc1.tar.gz
2、okl4_3.0.tar.gz:http://wiki.ok-labs.com/downloads/release-3.0/
3、穿插编译工具:arm-linux-gnueabi-4.2.4.tar.gz、arm-linux-3.4.4.tar.bz2 http://wiki.ok-labs.com/downloads/release-3.0/
4、skyeye-conf下载:http://wiki.ok-labs.com/downloads/release-3.0/
2、编译:假定系统根目录为:/home/fanyl/,用户为:fanyl
1、skyeye-1.3.0_rc1.tar:
1)、解压:tar zxvf skyeye-1.3.0_rc1.tar
2)、cd skyeye-1.3.0_rc1
./configure
./make lib
./make
./make install
./make install_lib
问题:编译的时刻会提醒诸如xlib.h 不存在的问题,这是因为lib库安装不完好造成的,利用sudo apt-get install libxpm-dev
呈现: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
安装完成之后,运行./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 http://www.skyeye.org.
Type "help" to get command list.
(skyeye)
阐明安装成功
安装完成之后,为了今后利用便利,可以将skyeye 拷贝到/usr/bin/下
2、OKL4:
tar zxvf okl4_3.0.tar.gz
3、穿插编译工具
cd ~
tar zxvf arm-linux-gnueabi-4.2.4.tar.gz
tar xjvf arm-linux-3.4.4.tar.bz2
改正okl4_3.0/tools/toolchains.py:
#gnu_arm_libgcc_toolchain = generic_gcc("arm-linux-")
#gnu_arm_eabi_toolchain = generic_gcc_3_4_libgcc("/opt/okl/Linux-i386/arm/gcc-4.2.4-glibc-2.7/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-")
gnu_arm_eabi_toolchain = generic_gcc_3_4_libgcc("/home/fanyl/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-")
gnu_arm_toolchain = generic_gcc_3_4_libgcc("arm-linux-")
#gnu_arm_nptl_toolchain = generic_gcc_3_4_libgcc("/opt/okl/Linux-i386/stow/arm-linux/bin/arm-linux-")
gnu_arm_nptl_toolchain = generic_gcc_3_4_libgcc("/home/fanyl/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/arm-linux-")
gnu_mips64_toolchain = generic_gcc_3_4("mips64-elf-")
gnu_mips32_toolchain = generic_gcc_3_4("mips-linux-")
#arm_linux_toolchain = generic_gcc_3_4("/opt/tools/3.4/arm-linux/bin/arm-linux-")
arm_linux_toolchain = generic_gcc_3_4("/home/fanyl/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/arm-linux-")
以上是“Ubuntu下用skyeye运行OKL4[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |