> hmmm did I miss the patch for this?
>
> mremap.c:244: redefinition of `get_one_pte'
> mremap.c:23: `get_one_pte' previously defined here
> mremap.c:275: redefinition of `alloc_one_pte'
> mremap.c:54: `alloc_one_pte' previously defined here
> mremap.c:286: redefinition of `copy_one_pte'
> mremap.c:65: `copy_one_pte' previously defined here
> mremap.c:302: redefinition of `move_one_page'
> mremap.c:81: `move_one_page' previously defined here
> mremap.c:314: redefinition of `move_page_tables'
> mremap.c:93: `move_page_tables' previously defined here
> mremap.c: In function `move_page_tables':
> mremap.c:317: warning: implicit declaration of function `invalidate_range'
> mremap.c: At top level:
> mremap.c:348: redefinition of `move_vma'
> mremap.c:129: `move_vma' previously defined here
> mremap.c:382: redefinition of `sys_mremap'
> mremap.c:163: `sys_mremap' previously defined here
> {standard input}: Assembler messages:
> {standard input}:530: Fatal error: Symbol move_one_page already defined.
> make[2]: *** [mremap.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/mm'
> make[1]: *** [first_rule] Error 2
I have been fighting this type of problem every since about 1.3.72.
The only way I could get around it was to delete everything under
/usr/src/linux and re-untar and re-apply-patches.
There is clearly something left laying around that screws things up, that
even "make mrproper" or "make clean", etc. don't clean up.
Regards,
Ray