安装Pint-OS并尝试运行多个警报后,我收到以下错误。我正在使用bochs作为模拟器。任何可能的工作?

时间:2014-08-10 07:46:59

标签: operating-system bochs pintos

Prototype mismatch: sub main::SIGVTALRM () vs none at /home/abhijay/pintos-os/pintos/src/utils/pintos line 934.
Constant subroutine SIGVTALRM redefined at /home/abhijay/pintos-os/pintos/src/utils/pintos line 926.
warning: can't find squish-pty, so terminal input will fail
bochs -q
========================================================================
                       Bochs x86 Emulator 2.4.6
             Build from CVS snapshot, on February 22, 2011
                   Compiled at Jun  8 2013, 05:16:04
========================================================================
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.txt
00000000000e[     ] user_shortcut: old-style syntax detected
00000000000i[     ] lt_dlhandle is 0x37ed0c0
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

对此有何解决方法?我已经安装了build-essentials和bochs模拟器。

1 个答案:

答案 0 :(得分:2)

你必须到文件 / home / abhijay / pintos-os / pintos / src / utils / pintos 并注释掉整个函数 SIGVTALRM()< / em> 。它应该可以正常工作。