From: sean y. <sea...@ho...> - 2006-03-10 21:11:20
|
I downloaded a 2.4.21 kernel and the corresponding patch, when I try to build the UML, I met the following problem. >make xconfig ARCH=um >make linux ARCH=um .....(lots of output here discarded, the following is error message) make[4]: Entering directory `/export/home/uml/linux-2.4.21/arch/um/kernel/tt/ptproxy' gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/export/home/uml/linux-2.4.21/arch/um/include -I/export/home/uml/linux-2.4.21/arch/um/kernel/tt/include -D_GNU_SOURCE -c -o proxy.o proxy.c gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/export/home/uml/linux-2.4.21/arch/um/include -I/export/home/uml/linux-2.4.21/arch/um/kernel/tt/include -D_GNU_SOURCE -c -o ptrace.o ptrace.c gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/export/home/uml/linux-2.4.21/arch/um/include -I/export/home/uml/linux-2.4.21/arch/um/kernel/tt/include -D_GNU_SOURCE -c -o sysdep.o sysdep.c sysdep.c: In function `syscall_cancel': sysdep.c:40: `errno' undeclared (first use in this function) sysdep.c:40: (Each undeclared identifier is reported only once sysdep.c:40: for each function it appears in.) sysdep.c: In function `syscall_pause': sysdep.c:56: `errno' undeclared (first use in this function) make[4]: *** [sysdep.o] Error 1 make[4]: Leaving directory `/export/home/uml/linux-2.4.21/arch/um/kernel/tt/ptproxy' make[3]: *** [first_rule] Error 2 make[3]: Leaving directory `/export/home/uml/linux-2.4.21/arch/um/kernel/tt/ptproxy' make[2]: *** [_subdir_ptproxy] Error 2 make[2]: Leaving directory `/export/home/uml/linux-2.4.21/arch/um/kernel/tt' make[1]: *** [_subdir_tt] Error 2 make[1]: Leaving directory `/export/home/uml/linux-2.4.21/arch/um/kernel' make: *** [_dir_arch/um/kernel] Error 2 _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |