Closed vmlemon closed 5 years ago
This only gets us as far as this:
make[1]: Entering directory '/home/tyson/Orion/kernel/xtest' ===> src/generic/tracebuffer.cc cd src/generic/ && gcc -nostdinc -I/home/tyson/Orion/kernel/xtest/include -I/home/tyson/Orion/kernel/src -I/home/tyson/Orion/kernel/src/generic -I/usr/lib/gcc/x86_64-linux-gnu/8/include/ -Uamd64 -Uopteron -Uefi -Uv4 -Urr -D__ARCH__=amd64 -D__CPU__=opteron -D__PLATFORM__=efi -D__API__=v4 -D__SCHED__=rr -imacros /home/tyson/Orion/kernel/xtest/config/config.h -imacros /home/tyson/Orion/kernel/src/generic/macros.h -include /home/tyson/Orion/kernel/src/generic/config.h -include /home/tyson/Orion/kernel/src/generic/types.h -fno-rtti -fno-builtin -fomit-frame-pointer -fno-exceptions -Wall -Wno-non-virtual-dtor -Wno-format -O2 -m64 -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -fno-pie -no-pie -Wno-narrowing -fno-stack-protector -Wconversion -c /home/tyson/Orion/kernel/src/generic/tracebuffer.cc In file included from /home/tyson/Orion/kernel/src/glue/v4-amd64/tcb.h:40, from /home/tyson/Orion/kernel/src/api/v4/tcb.h:707, from /home/tyson/Orion/kernel/src/api/v4/schedule.h:37, from /home/tyson/Orion/kernel/src/generic/tracebuffer.cc:87: /home/tyson/Orion/kernel/src/api/v4/syscalls.h:53:48: error: macro "SYS_IPC" requires 3 arguments, but only 2 given SYS_IPC (threadid_t to_tid, threadid_t from_tid); ^ /home/tyson/Orion/kernel/src/api/v4/syscalls.h:76:59: error: macro "SYS_THREAD_CONTROL" passed 7 arguments, but takes just 5 threadid_t recv_redirector_tid, word_t utcb_location); ^ /home/tyson/Orion/kernel/src/api/v4/syscalls.h:90:40: error: macro "SYS_EXCHANGE_REGISTERS" requires 8 arguments, but only 7 given word_t uhandle, threadid_t pager_tid); ^ /home/tyson/Orion/kernel/src/api/v4/syscalls.h:125:23: error: macro "SYS_SPACE_CONTROL" requires 5 arguments, but only 4 given fpage_t utcb_area); ^ In file included from /home/tyson/Orion/kernel/src/api/v4/tcb.h:707, from /home/tyson/Orion/kernel/src/api/v4/schedule.h:37, from /home/tyson/Orion/kernel/src/generic/tracebuffer.cc:87: /home/tyson/Orion/kernel/src/glue/v4-amd64/tcb.h:221:10: fatal error: tcb_layout.h: No such file or directory #include <tcb_layout.h> ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [/home/tyson/Orion/kernel/Mk/Makeconf:209: src/generic/tracebuffer.o] Error 1 make[1]: Leaving directory '/home/tyson/Orion/kernel/xtest' make: *** [Makefile:7: all] Error 2 tyson@tyson-Lenovo-ideapad-120S-14IAP:~/Orion/kernel/xtest$
This only gets us as far as this: