I am unable to compile the patched stock (kernel.org) 2.4.4
kernel because of compilation errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i386    -c -o init_task.o init_task.c
init_task.c:24: `MKI_INIT_TASK' undeclared here (not in a
function)
init_task.c:24: initializer element is not constant
init_task.c:24: (near initialization for
`init_task_union.task.pending')
init_task.c:24: duplicate initializer
init_task.c:24: (near initialization for
`init_task_union.task.pending')
init_task.c:24: parse error before `alloc_lock'
init_task.c:24: initializer element is not constant
init_task.c:24: (near initialization for
`init_task_union.task')
make[1]: *** [init_task.o] Error 1
make[1]: Leaving directory
`/usr/src/linux-2.4.4/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

I get that result using a configuration file that I created
by using my configuration file from the unpatched kernel and
doing "make oldconfig".   With a default configuration file
(and Win4Lin enabled), I don't get the compilation error.
That suggests that the error is configuration-dependent, but
there are too many differences between my customized
configuration and the default for me to be able to list them
here.

Paul Abrahams


_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to