On Sun, Jan 18, 2004 at 02:13:12AM -1000, Warren Togami wrote: > -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
try to add #include <asm/page.h> in vswitch.c and let me know if this fixes it for you ... TIA, Herbert > Warren Togami > [EMAIL PROTECTED] > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
