最近在看一个操作系统的实现,用到bochs,用sudo apt-get install vgabios bochs bochs-x bximage安装好之后,运行bochs -f bochsrc报错了。。。
报错如下:bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData
请问如何解决?另外我自己编译安装了bochs 2.4.5倒是可以运行。。。(apt-get自动安装的是2.4.6)
使用的配置文件bochsrc内容是:
###############################################################
# Configuration file for Bochs
###############################################################
# how much memory the emulated machine will have
megs: 32
# filename of ROM images
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage:file=/usr/share/vgabios/vgabios.bin
# what disk images will be used
floppya: 1_44=a.img, status=inserted
# choose the boot disk.
boot: floppy
# where do we send log messages?
# log: bochsout.txt
# disable the mouse
mouse: enabled=0
# enable key mapping, using US layout as default.
keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
于 2012-08-14 14:56:02发表:
sudo apt-get install bochs-sdl 安装好后在bochs的配置文件里面加一句 display_library: sdl