Code: Select all
ntoskrnl: [CC] mm/verifier.c
ntoskrnl: [CC] mm/virtual.c
ntoskrnl: [CC] mm/wset.c
ntoskrnl: [CC] ob/dirobj.c
ntoskrnl: [CC] ob/handle.c
ntoskrnl: [CC] ob/namespc.c
ob/namespc.c: In function `ObInit':
ob/namespc.c:391: error: parse error before "h"
ob/namespc.c:391: error: stray '\220' in program
ob/namespc.c:391: error: stray '\225' in program
ob/namespc.c:444: error: stray '\168' in program
ob/namespc.c:444: error: `InitializeObjectAttr' undeclared (first use in this function)
ob/namespc.c:444: error: (Each undeclared identifier is reported only once
ob/namespc.c:444: error: for each function it appears in.)
ob/namespc.c:444: error: stray '\220' in program
ob/namespc.c:444: error: stray '\225' in program
ob/namespc.c:444: warning: implicit declaration of function `es'
make[1]: *** [ob/namespc.o] Error 1
make: *** [ntoskrnl] Error 2
Before compilation process I prepared environment installing necessary tools: "emerge xmingw-binutils xmingw-w32api xmingw-runtime xmingw-gcc". The next step I unzipped sources to /1. Then I entered cd /1/reactos and nano -w rules.mak. In this file I added on the top of file this line:
HOST=mingw32-linux
and changed this:
ifeq ($(HOST),mingw32-linux)
export NASM_FORMAT = win32
export PREFIX = mingw32-
to this
ifeq ($(HOST),mingw32-linux)
export NASM_FORMAT = win32
export PREFIX = i386-mingw32msvc-
Next I edited my /etc/profile file and added path to mingw compiler, then I wrote make. Compilation ends everytime with error message posted on the top of this post. What's the matter?