关于Bochs在Ubuntu 12.04下提示找不到XpmCreatePixmapFromData的问题(转)

 

在尝试使用bochs时,会有如下提示:

bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData

这个问题本来以前解决过,结果忘了。上网一搜,找到了答案:

http://overflowedstack.wordpress.com/2012/05/07/solve-bochs-crash-on-start-problem-under-ubuntu-12-04/

作者指出,我们换一种显示的方案就可以了。

首先按照bochs-sdl,用apt-get可以安装。

在我们的bochsrc文件中,加入一句话:

display_library: sdl

就可以了。

为了完整性,贴出完整的bochsrc文件(参考http://blog.csdn.net/lilongherolilong/article/details/7683952):

      5 display_library: sdl
      6 
      7 # how much memory the emulated machine will have
      8 megs: 32
      9 
     10 # filename of ROM images
     11 #romimage: file=/usr/local/share/bochs/BIOS-bochs-latest
     12 romimage: file=/usr/share/bochs/BIOS-bochs-latest
     13 #vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest
     14 #vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
     15 vgaromimage: file=/usr/share/vgabios/vgabios.bin
     16 
     17 # what disk images will be used
     18 floppya: 1_44=a.img, status=inserted
     19 
     20 # choose the boot disk.
     21 boot: floppy
     22 
     23 # where do we send log messages?
     24 # log: bochsout.txt
     25 # disable the mouse
     26 mouse: enabled=0

posted @ 2013-02-04 23:08  Mr.Shadow  阅读(648)  评论(0编辑  收藏  举报