Welcome 微信登录

首页 / 操作系统 / Linux / openSUSE 安装Bochs 2.6

在openSUSE 下安装Bochs 2.6笔记。1.到Bochs官方下载源码包,因为用到了调试功能。 Bochs 最新版 下载地址 http://sourceforge.net/projects/bochs/2.安装G++编译器 如果不安装G++编译器, 在执行configure时就会出现一些错误。3.执行配置,开启调试和反汇编 ./configure --enable-debugger --enable-disasm4.ERROR: X windows gui was selected, but X windows libraries were not found.出现这个错误时,请安装xorg-dev包sudo apt - get install xorg - dev5.Package gtk+-2.0 was not found in the pkg-config search path.Perhaps you should add the directory containing `gtk+-2.0.pc"to the PKG_CONFIG_PATH environment variableNo package "gtk+-2.0" foundERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.Install pkg-config and the gtk+ development package,or disable the gui debugger, or the wxWidgets display library (whichever is being used).出现这个错误时,请运行:sudo apt - get install libgtk2 . 0 - dev6.重新执行配置(出错处理如上)./ configure-- enable - debugger-- enable - disasm然后运行makemake再installsudo make install我试过不用sudo来直接执行,会出错的,出错提示不明确,应该是权限不够make :***[install_bin] 错误17.完成,执行bochs,嘻嘻,来个www.linuxidc.com @linuxidc:~/Downloads/bochs-2.6> bochs
========================================================================
                        Bochs x86 Emulator 2.6
            Built from SVN snapshot on September 2nd, 2012
                  Compiled on Nov 29 2012 at 18:01:48
========================================================================
00000000000i[   ] reading configuration from .bochsrc
00000000000p[   ] >>PANIC<< .bochsrc:190: unsupported CPU model option.
00000000000e[CTRL ] notify called, but no bxevent_callback function is registered
========================================================================
Bochs is exiting with the following message:
[   ] .bochsrc:190: unsupported CPU model option.
========================================================================
00000000000i[CPU0 ] CPU is in real mode (active)
00000000000i[CPU0 ] CS.mode = 16 bit
00000000000i[CPU0 ] SS.mode = 16 bit
00000000000i[CPU0 ] EFER = 0x00000000
00000000000i[CPU0 ] | EAX=00000000  EBX=00000000  ECX=00000000  EDX=00000000
00000000000i[CPU0 ] | ESP=00000000  EBP=00000000  ESI=00000000  EDI=00000000
00000000000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf
00000000000i[CPU0 ] | SEG sltr(index|ti|rpl)   base    limit G D
00000000000i[CPU0 ] |  CS:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] |  DS:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] |  SS:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] |  ES:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] |  FS:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] |  GS:0000( 0000| 0|  0) 00000000 00000000 0 0
00000000000i[CPU0 ] | EIP=00000000 (00000000)
00000000000i[CPU0 ] | CR0=0x00000000 CR2=0x00000000
00000000000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
bx_dbg_read_linear: physical memory read error (phy=0x0000000000000000, lin=0x00000000)
00000000000i[CTRL ] quit_sim called with exit code 1
www.linuxidc.com @linuxidc:~/Downloads/bochs-2.6>sudo: sorry, you must have a tty to run sudoLinux下的source命令相关资讯      Bochs  Bochs 2.6  Bochs安装 
  • Ubuntu 14.04 LTS 安装和配置Bochs  (今 10:20)
  • 在Ubuntu下用Bochs仿真freedos学习  (05/29/2014 19:53:28)
  • CentOS 6.0 源码 编译 安装 Bochs  (12/27/2012 12:11:05)
  • Ubuntu上使用Bochs  (今 10:14)
  • Bochs 2.6 发布,开源 x86 虚拟机  (03/05/2013 18:50:39)
  • Linux0.11 运行环境搭建以及调式--  (11/10/2012 14:25:07)
本文评论 查看全部评论 (0)
表情: 姓名: 字数


评论声明
    版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图