hit-moodle / onlinejudge

Online judge plugin for Moodle 1.9.x
https://github.com/hit-moodle/onlinejudge/wiki
GNU General Public License v3.0
27 stars 9 forks source link

onlinejudge 1.4.3 受限函数 #3

Closed liwenjie closed 12 years ago

liwenjie commented 12 years ago

make时发生如下错误: make -C libsandbox libsandbox.a make[1]: 正在进入目录 /var/www/moodle/mod/assignment/type/onlinejudge/sandbox/libsandbox' make[1]: “libsandbox.a”是最新的。 make[1]:正在离开目录/var/www/moodle/mod/assignment/type/onlinejudge/sandbox/libsandbox' ./runtest.sh 1 stdin_tesY_PLR bsandbox' ./runtest.sh 1 stdin_test < /dev/null make: *\ [stdin] 错误2 简单的输入输出就会发生“受限函数调用错误!“ 如何解决?

glovenone commented 12 years ago

开始也遇到这个问题了,不过重新clone下代码再make就 "All testcases are OK", 不太清楚为什么