gcc32 -D__KERNEL__ -I/root/kernel/linux-2.4.24-vs1.24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -Wno-sign-compare -fno-asynchronous-unwind-tables -nostdinc -iwithprefix include -DKBUILD_BASENAME=context -DEXPORT_SYMTAB -c context.c
gcc32 -D__KERNEL__ -I/root/kernel/linux-2.4.24-vs1.24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -Wno-sign-compare -fno-asynchronous-unwind-tables -nostdinc -iwithprefix include -DKBUILD_BASENAME=vswitch -c -o vswitch.o vswitch.c
In file included from /root/kernel/linux-2.4.24-vs1.24/include/linux/vcontext.h:83,
from /root/kernel/linux-2.4.24-vs1.24/include/linux/vswitch.h:5,
from vswitch.c:17:
/root/kernel/linux-2.4.24-vs1.24/include/asm/current.h: In function `stack_current':
/root/kernel/linux-2.4.24-vs1.24/include/asm/current.h:20: `THREAD_SIZE' undeclared (first use in this function)
/root/kernel/linux-2.4.24-vs1.24/include/asm/current.h:20: (Each undeclared identifier is reported only once
/root/kernel/linux-2.4.24-vs1.24/include/asm/current.h:20: for each function it appears in.)
make[2]: *** [vswitch.o] Error 1
make[2]: Leaving directory `/root/kernel/linux-2.4.24-vs1.24/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/root/kernel/linux-2.4.24-vs1.24/kernel'
make: *** [_dir_kernel] Error 2
Any ideas? Details: kernel-2.4.24-vs1.24 on x86_64 with gcc-3.2.x
Warren Togami [EMAIL PROTECTED] _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
