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

标签 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 模拟器。

最佳答案

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

关于operating-system - 安装 Pint-OS 并尝试运行多个警报后,我收到以下错误。我使用 bochs 作为模拟器。任何可能的解决方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25226604/

相关文章:

multithreading - 发出信号量必须是原子的。 Pintos的sema_down安全吗?

windows - 为什么我需要 ILK、PDB 和 EXP 文件?

linux - Pintos,检查失败。运行未正常启动: no "Pintos booting" message

cpu-registers - bochsdbg中CPU寄存器FLAG如何理解和修改?

assembly - 有没有办法检索 BIOS 在其中找到并加载引导扇区的设备 ID?

c - 如何更改 makefile 以避免对数学库中函数的 undefined reference ?

c - 访问未对齐的结构成员

c++ -/SUBSYSTEM 参数的意义 - msdn

android - 无需root手机即可访问Android Root权限