Lubuntu가 설치된 가상 머신에서 Linux 커널을 컴파일하려고 하는데 다음 오류가 발생합니다.
In file included from ubuntu/aufs/aufs.h:45:0,
from ubuntu/aufs/module.c:25:ubuntu/aufs/file.h:
In function ‘au_vm_prfile_set’:ubuntu/aufs/file.h:289:5: error:
‘struct vm_area_struct’ has no member named ‘vm_prfile’
make[3]: *** [ubuntu/aufs/module.o]Error 1
make[2]: *** [ubuntu/aufs] Error 2
make[1]: *** [ubuntu] Error 2
답변1
버그였네요 신청해야해요aufs3.12 mmap 패치"를 추가했습니다.vm_prfile":
....
@@ -213,6 +213,7 @@ struct vm_region {
unsigned long vm_top; /* region allocated to here */
unsigned long vm_pgoff; /* the offset in vm_file corresponding to vm_start */
struct file *vm_file; /* the backing file or NULL */
+ **struct file *vm_prfile**; /* the virtual backing file or NULL */