安装bochs问题

本文详细记录了在安装Bochs 2.6.11过程中遇到的配置文件加载失败问题,通过查找替代rc文件、修改低级声音支持编译选项,最终成功编译和运行。涉及关键步骤包括lt_dlhandle和bochsrc文件处理。

bochs 2.6.11

错误:

========================================================================
                       Bochs x86 Emulator 2.6.11
              Built from SVN snapshot on January 5, 2020
                Timestamp: Sun Jan  5 08:36:00 CET 2020
========================================================================
00000000000i[      ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/local/lib/bochs/plugins'
00000000000i[      ] BXSHARE not set. using compile time default '/usr/local/share/bochs'
00000000000i[      ] lt_dlhandle is 0x55b6a49d90c0
00000000000i[PLUGIN] loaded plugin libbx_unmapped.so
00000000000i[      ] lt_dlhandle is 0x55b6a49d9a00
00000000000i[PLUGIN] loaded plugin libbx_biosdev.so
00000000000i[      ] lt_dlhandle is 0x55b6a49da370
00000000000i[PLUGIN] loaded plugin libbx_speaker.so
00000000000i[      ] lt_dlhandle is 0x55b6a49db180
00000000000i[PLUGIN] loaded plugin libbx_extfpuirq.so
00000000000i[      ] lt_dlhandle is 0x55b6a49db9f0
00000000000i[PLUGIN] loaded plugin libbx_parallel.so
00000000000i[      ] lt_dlhandle is 0x55b6a49dd680
00000000000i[PLUGIN] loaded plugin libbx_serial.so
00000000000i[      ] lt_dlhandle is 0x55b6a49e1ab0
00000000000i[PLUGIN] loaded plugin libbx_iodebug.so
00000000000i[      ] reading configuration from bochsrc
00000000000p[      ] >>PANIC<< reading from bochsrc failed
00000000000e[SIM   ] notify called, but no bxevent_callback function is registered
00000000000e[SIM   ] notify called, but no bxevent_callback function is registered
========================================================================
Bochs is exiting with the following message:
[      ] reading from bochsrc failed
========================================================================
 

 

根据其他博主的文档安装,启动错误如上:

根据错误提示bochsrc这个文件读取失败,于是搜索此文件,发现源码目录并没有,尝试是否有其他rc文件提供,发现源码下存在一个.bochrc文件,将此文件复制并保存到当前目录,改名为bochsrc,再次编译,提示:

bochsrc:926: Bochs is not compiled with lowlevel sound support

将此行注释,重新编译,编译成功。

 

 

 

参考:

https://blog.csdn.net/qq_37637619/article/details/89784508

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值