Hello Okajima-san, From: TAMUKI Shoichi <tam...@linet.gr.jp> Subject: Re: aufs4.11.7+ fails to compile the kernel on arm architecture Date: Mon, 28 Aug 2017 13:15:28 +0900
> > Currently I am guessing the problem will be gone if we put a single > > #include line which is for the file where your struct vma is defined. > > The struct vm_area_struct is defined at include/linux/mm_types.h, so > after returning home, I will try to put "#include <linux/mm_types.h>" > to fs/aufs/file.h to see if the problem will be gone or not. I made a following change. As a result, the problem was solved. --- linux-4.11.12/fs/aufs/file.h.orig +++ linux-4.11.12/fs/aufs/file.h @@ -27,6 +27,7 @@ #include <linux/file.h> #include <linux/fs.h> #include <linux/poll.h> +#include <linux/mm_types.h> #include "rwsem.h" struct au_branch; This temporary fix for arm architecture seems to be good. Now, we have to consider the parmanent fix for the official aufs patch. I wonder why the current aufs4.11.7+ fails to compile the kernel on arm architecture even though there has been no problem until aufs4.10. Regards, TAMUKI Shoichi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot