From: Anil K. R <an...@cd...> - 2001-10-04 14:39:03
|
Hi all, I just downloaded linux-2.4.10.tar.bz2 and uml-patch-2.4.10-1.bz2 created /usr/src/uml untarred the linux kernel and patched it with uml using the command cat uml-patch-2.4.0-prerelease.bz2 | bunzip2 - | patch -p1 as per directions on the home page of user_mode_linux I also did make xconfig ARCH=um make dep ARCH=um now the problem is when I give the command make linux ARCH=um I get the following error In file included from ksyms.c:17: /usr/src/uml/linux/include/linux/kernel_stat.h: In function `kstat_irqs': /usr/src/uml/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function) /usr/src/uml/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once /usr/src/uml/linux/include/linux/kernel_stat.h:48: for each function it appears in.) make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/uml/linux/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/uml/linux/kernel' make: *** [_dir_kernel] Error 2 can somebody please guide me out of this. This is the first time I am trying to compile the kernel. Thankyou Bye R. Anil Kumar |