Bochs安装时一些可能遇到的问题
- vgaromimage: /usr/share/vgabios/vgabios.bin
- vgaromimage: file=/usr/share/vgabios/vgabios.bin
问题二:
- sudo apt-get install bochs-x
http://blog.sina.com.cn/s/blog_71c44ef8010184ga.html
1、bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData
错误:
========================================================================
Bochs x86 Emulator 2.4.6
Build from CVS snapshot, on February 22, 2011
Compiled at Nov 11 2011, 09:31:18
========================================================================
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[ ] reading configuration from bochsrc.bxrc
00000000000i[ ] lt_dlhandle is 0x2d7b960
00000000000i[PLGIN] loaded plugin libbx_x.so
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file bochsout.txt
bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData
最后这一条百思不得其解……居然连源文件都不能使用了……跪求大神解决……
下面是配置文件原文(注释去掉了)
megs: 32
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: 1_44=a.img, status=inserted
floppyb: 1_44=floppyb.img, status=inserted
boot: floppy
log: bochsout.txt
mouse: enabled=0
keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map
关于keyboard_mapping的错误。
使用# enable key mapping, using US layout as default.
keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map