~/hustoj/hustoj-read-only/core/judge_client $ g++ -Wall -c -I/usr/local/mysql/include/mysql -I/usr/include/mysql judge_client.cc
In file included from okcalls.h:24:0,
from judge_client.cc:49:
okcalls64.h:20:65: error: ‘SYS_time’ was not declared in this scope
int LANG_CV[256] = {0,1,2,5,9,11,12,21,59,63,89,158,231,240, 8, SYS_time, SYS_read, SYS_uname, SYS_write, SYS_open,
^
okcalls64.h:22:3: error: ‘SYS_mmap’ was not declared in this scope
SYS_mmap, SYS_fstat, SYS_set_thread_area, 252, SYS_arch_prctl, 231, 0 };
^
okcalls64.h:22:24: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_mmap, SYS_fstat, SYS_set_thread_area, 252, SYS_arch_prctl, 231, 0 };
^
okcalls64.h:22:50: error: ‘SYS_arch_prctl’ was not declared in this scope
SYS_mmap, SYS_fstat, SYS_set_thread_area, 252, SYS_arch_prctl, 231, 0 };
^
okcalls64.h:24:56: error: ‘SYS_set_thread_area’ was not declared in this scope
int LANG_PV[256] = {0,9,1,13,16,59,89,97,231,SYS_open, SYS_set_thread_area, SYS_brk, SYS_read,
^
okcalls64.h:25:62: error: ‘SYS_mmap’ was not declared in this scope
SYS_uname, SYS_write, SYS_execve, SYS_ioctl, SYS_readlink, SYS_mmap,
^
okcalls64.h:26:21: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_rt_sigaction, SYS_getrlimit, 252, 191, 158, 231, SYS_close,
^
okcalls64.h:27:31: error: ‘SYS_time’ was not declared in this scope
SYS_exit_group, SYS_munmap, SYS_time, 4, 0 };
^
okcalls64.h:31:19: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getdents64, SYS_getrlimit, SYS_rt_sigprocmask, SYS_futex, SYS_read,
^
okcalls64.h:32:3: error: ‘SYS_mmap’ was not declared in this scope
SYS_mmap, SYS_stat, SYS_open, SYS_close, SYS_execve, SYS_access,
^
okcalls64.h:34:46: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_uname, SYS_mprotect, SYS_rt_sigaction, SYS_getrlimit, SYS_fstat,
^
okcalls64.h:35:53: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_getuid, SYS_getgid, SYS_geteuid, SYS_getegid, SYS_set_thread_area,
^
okcalls64.h:39:33: error: ‘SYS_arch_prctl’ was not declared in this scope
,96, 340, 4, 126, SYS_access, SYS_arch_prctl, SYS_brk,
^
okcalls64.h:41:53: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getegid, SYS_geteuid, SYS_getgid, SYS_getuid, SYS_getrlimit,
^
okcalls64.h:42:3: error: ‘SYS_mmap’ was not declared in this scope
SYS_mmap, SYS_mprotect, SYS_munmap, SYS_open, SYS_read,
^
okcalls64.h:48:20: error: ‘SYS_arch_prctl’ was not declared in this scope
183, SYS_access, SYS_arch_prctl, SYS_brk, SYS_close, SYS_dup2,
^
okcalls64.h:51:3: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getrlimit, SYS_getuid, SYS_ioctl, SYS_lseek, SYS_mmap, SYS_mprotect,
^
okcalls64.h:51:52: error: ‘SYS_mmap’ was not declared in this scope
SYS_getrlimit, SYS_getuid, SYS_ioctl, SYS_lseek, SYS_mmap, SYS_mprotect,
^
okcalls64.h:57:15: error: ‘SYS_arch_prctl’ was not declared in this scope
SYS_access, SYS_arch_prctl, SYS_brk, SYS_close, SYS_execve,
^
okcalls64.h:59:55: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getdents, SYS_getegid, SYS_geteuid, SYS_getgid, SYS_getrlimit,
^
okcalls64.h:60:48: error: ‘SYS_mmap’ was not declared in this scope
SYS_getuid, SYS_ioctl, SYS_lseek, SYS_lstat, SYS_mmap, SYS_mprotect,
^
okcalls64.h:68:53: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_fstat, SYS_futex, SYS_getcwd, SYS_getdents64, SYS_getrlimit,
^
okcalls64.h:69:54: error: ‘SYS_mmap’ was not declared in this scope
SYS_gettimeofday, SYS_ioctl, SYS_lseek, SYS_lstat, SYS_mmap,
^
okcalls64.h:72:3: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_set_thread_area, SYS_set_tid_address, SYS_stat, SYS_time, SYS_uname,
^
okcalls64.h:72:55: error: ‘SYS_time’ was not declared in this scope
SYS_set_thread_area, SYS_set_tid_address, SYS_stat, SYS_time, SYS_uname,
^
okcalls64.h:78:41: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getegid, SYS_geteuid, SYS_getgid, SYS_getrlimit, SYS_getuid,
^
okcalls64.h:79:25: error: ‘SYS_mmap’ was not declared in this scope
SYS_ioctl, SYS_lseek, SYS_mmap, SYS_mprotect, SYS_munmap, SYS_open,
^
okcalls64.h:81:24: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_set_robust_list, SYS_set_thread_area, SYS_set_tid_address, SYS_stat,
^
okcalls64.h:82:3: error: ‘SYS_time’ was not declared in this scope
SYS_time, SYS_uname, SYS_write, 0 };
^
okcalls64.h:90:55: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getdents, SYS_geteuid, SYS_getpid, SYS_getppid, SYS_getrlimit,
^
okcalls64.h:91:66: error: ‘SYS_mmap’ was not declared in this scope
SYS_gettimeofday, SYS_getuid, SYS_ioctl, SYS_lseek, SYS_lstat, SYS_mmap,
^
okcalls64.h:96:3: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_set_thread_area, SYS_set_tid_address, SYS_sigaltstack, SYS_stat,
^
okcalls64.h:97:27: error: ‘SYS_time’ was not declared in this scope
SYS_statfs, SYS_tgkill, SYS_time, SYS_uname, SYS_unlink, SYS_write, 0 };
^
okcalls64.h:101:3: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_getrlimit, SYS_gettimeofday, SYS_mmap, SYS_mprotect, SYS_munmap,
^
okcalls64.h:101:36: error: ‘SYS_mmap’ was not declared in this scope
SYS_getrlimit, SYS_gettimeofday, SYS_mmap, SYS_mprotect, SYS_munmap,
^
okcalls64.h:103:24: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_set_robust_list, SYS_set_thread_area, SYS_set_tid_address,
^
okcalls64.h:109:53: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_execve, SYS_exit_group, SYS_fstat, SYS_futex, SYS_getrlimit,
^
okcalls64.h:110:14: error: ‘SYS_ioperm’ was not declared in this scope
SYS_ioctl, SYS_ioperm, SYS_mmap, SYS_open, SYS_read, SYS_rt_sigaction,
^
okcalls64.h:110:26: error: ‘SYS_mmap’ was not declared in this scope
SYS_ioctl, SYS_ioperm, SYS_mmap, SYS_open, SYS_read, SYS_rt_sigaction,
^
okcalls64.h:111:44: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_rt_sigprocmask, SYS_set_robust_list, SYS_set_thread_area,
^
okcalls64.h:115:30: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_fcntl, SYS_getdents64, SYS_getrlimit, SYS_rt_sigprocmask, SYS_futex,
^
okcalls64.h:116:13: error: ‘SYS_mmap’ was not declared in this scope
SYS_read, SYS_mmap, SYS_stat, SYS_open, SYS_close, SYS_execve,
^
okcalls64.h:118:57: error: ‘SYS_getrlimit’ was not declared in this scope
SYS_clone, SYS_uname, SYS_mprotect, SYS_rt_sigaction, SYS_getrlimit,
^
okcalls64.h:120:3: error: ‘SYS_set_thread_area’ was not declared in this scope
SYS_set_thread_area, SYS_set_tid_address, SYS_set_robust_list,
^
judge_client.cc: In function ‘void watch_solution(pid_t, char_, int&, int, char_, char_, int, int, int&, int, int&, int, int&, int&, char_)’:
judge_client.cc:1780:26: error: aggregate ‘watch_solution(pid_t, char_, int&, int, char_, char_, int, int, int&, int, int&, int, int&, int&, char_)::user_regs_struct reg’ has incomplete type and cannot be defined
struct user_regs_struct reg;
^