【发布时间】:2017-09-24 16:50:12
【问题描述】:
过去几天我在 Bochs 安装 Pintos。一切都在“线程”目录中编译得很好,我也把所有的路径都设置好了。我在 build 目录中有 kernel.lo 和其他文件。
问题在于我运行的最后一个命令: pintos 运行多个警报
这会产生错误: 无法识别的字符 \x16;在 if ($
pintos脚本第911行的代码是:
# Calls setitimer to set a timeout, then execs what was passed to us.
sub exec_setitimer {
if (defined $timeout) {
if ($ ge 5.8.0) {
eval "
use Time::HiRes qw(setitimer ITIMER_VIRTUAL);
setitimer (ITIMER_VIRTUAL, $timeout, 0);
";
} else {
{ exec ("setitimer-helper", $timeout, @_); };
exit 1 if !$!{ENOENT};
print STDERR "warning: setitimer-helper is not installed, so ",
"CPU time limit will not be enforced\n";
}
}
exec (@_);
exit (1);
}
我正在使用 Debian-9 Stretch
【问题讨论】: