2.6.12-rc2-mm1 compile error in mmx.c
2.6.12-rc2-mm1 fails to build for me with the following error:
arch/i386/lib/mmx.c:374: error: conflicting types for mmx_clear_page' include/asm/mmx.h:11: error: previous declaration of mmx_clear_page' make[1]: *** [arch/i386/lib/mmx.o] Error 1
make: *** [arch/i386/lib] Error 2
I hope this is useful-- I apologize if it is not. (I browsed the archives, and no one seems to be complaining of the same thing so far.)
I'm not subscribed to the list, but I'll gladly provide more
information if you CC me on a response.
Quoted 6 lines · Berck E. Nash
2.6.12-rc2-mm1 fails to build for me with the following error:
arch/i386/lib/mmx.c:374: error: conflicting types formmx_clear_page' include/asm/mmx.h:11: error: previous declaration ofmmx_clear_page' make[1]: *** [arch/i386/lib/mmx.o] Error 1
make: *** [arch/i386/lib] Error 2
I don't know the proper fix, but reversing this patch:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm1/broken-out/add-a-clear_pages-function-to-clear-pages-of-higher.patch worked for me.