From: Greg H. <gt...@fa...> - 2007-07-11 01:00:32
|
Hello, I am trying to build MOL 0.9.72.1 on linux 2.6.22, and am getting the following error: =3D Building molvconfig + Entering kmod + Entering Linux In file included from include/asm/pgtable-ppc32.h:4, from include/asm/pgtable.h:8, from include/linux/mm.h:40, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/alloc.h:22, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/_fault.c:18: include/asm-generic/pgtable-nopmd.h:15: error: conflicting types for =E2=80= =98pmd_t=E2=80=99 include/asm/page.h:76: error: previous declaration of =E2=80=98pmd_t=E2=80= =99 was here In file included from include/asm/pgtable-ppc32.h:4, from include/asm/pgtable.h:8, from include/linux/mm.h:40, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/alloc.h:22, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/_fault.c:18: include/asm-generic/pgtable-nopmd.h:46:1: warning: "pmd_val" redefined In file included from include/asm/thread_info.h:26, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/capability.h:47, from include/linux/sched.h:46, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/archinclude.h:46, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/_fault.c:17: include/asm/page.h:81:1: warning: this is the location of the previous definition In file included from include/asm/pgtable-ppc32.h:4, from include/asm/pgtable.h:8, from include/linux/mm.h:40, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/alloc.h:22, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/_fault.c:18: include/asm-generic/pgtable-nopmd.h:47:1: warning: "__pmd" redefined In file included from include/asm/thread_info.h:26, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/capability.h:47, from include/linux/sched.h:46, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/archinclude.h:46, from /home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/src= /kmod/_fault.c:17: include/asm/page.h:86:1: warning: this is the location of the previous definition make[5]: *** [/home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/build/sr= c/kmod/_fault.o] Error 1 make[4]: *** [_module_/home/arch/ppc-cvs/extra/emulators/mol/src/mol-0.9.72.1/obj-ppc/= build/src/kmod] Error 2 nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file checker.pl failed rm: cannot remove `../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file or directory make[3]: *** [all-local] Error 1 make[2]: *** [sub-Linux-all] Error 2 make[1]: *** [sub-kmod-all] Error 2 make: *** [sub-src-all] Error 2 Any ideas? |