Hi all,
When I tried the tutorial how to build Genode for Linux, I have an
error :
In file included
from /home/lbtruong/genode.11/base-linux/src/base/ipc/ipc.cc:21:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_socketcall(int, long unsigned int*)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:82:
erreur: ‘__NR_socketcall’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_write(int, const void*, Genode::size_t)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:164:
erreur: ‘__NR_write’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_close(int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:170:
erreur: ‘__NR_close’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_execve(const char*, char* const*, char* const*)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:181:
erreur: ‘__NR_execve’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘void lx_exit(int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:187:
erreur: ‘__NR_exit’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘void lx_exit_group(int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:193:
erreur: ‘__NR_exit_group’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_open(const char*, int, mode_t)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:203:
erreur: ‘__NR_open’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘void* lx_mmap(void*, Genode::size_t, int, int, int, off_t)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:213:
erreur: ‘__NR_mmap2’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_munmap(void*, size_t)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:220:
erreur: ‘__NR_munmap’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_ftruncate(int, long unsigned int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:253:
erreur: ‘__NR_ftruncate’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_unlink(const char*)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:259:
erreur: ‘__NR_unlink’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_stat(const char*, stat64*)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:271:
erreur: ‘__NR_stat64’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_sigaction(int, void (*)(int))’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:332:
erreur: ‘__NR_rt_sigaction’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_kill(int, int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:343:
erreur: ‘__NR_kill’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_tgkill(int, int, int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:355:
erreur: ‘__NR_tgkill’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘pid_t lx_getpid()’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:381:
erreur: ‘__NR_getpid’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘pid_t lx_gettid()’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:382:
erreur: ‘__NR_gettid’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘uid_t lx_getuid()’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:383:
erreur: ‘__NR_getuid’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘int lx_nanosleep(const timespec*, timespec*)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:394:
erreur: ‘__NR_nanosleep’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘bool lx_sigpending(int)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:445:
erreur: ‘__NR_rt_sigpending’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h: In
function ‘bool lx_sigsetmask(int, bool)’:
/home/lbtruong/genode.11/base-linux/src/platform/linux_syscalls.h:461:
erreur: ‘__NR_rt_sigprocmask’ was not declared in this scope
/home/lbtruong/genode.11/base-linux/src/base/ipc/ipc.cc: In member
function ‘void Genode::Ipc_istream::_wait()’:
/home/lbtruong/genode.11/base-linux/src/base/ipc/ipc.cc:117: erreur:
‘EINTR’ was not declared in this scope
make[3]: *** [ipc.o] Erreur 1
make[2]: *** [ipc.lib] Erreur 2
make[1]: *** [gen_deps_and_build_targets] Erreur 2
make[1]: quittant le répertoire « /home/lbtruong/genode.11/buildLinux »
Error: Genode build failed
make: *** [run/demo] Erreur 252
Would you like guide me how to solve this problem ?
Regards,
TRUONG