Thank you for AUFS for 3.8 kernel.
I've compiled aufs (standalone) for Linux 3.8.2, and I've copied file
aufs_type.h from Linux tree to /usr/include/linux/aufs_type.h
When that was done, I wanted to compile aufs utils, but 'make' returned an
error:
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" ver.c -o ver
In file included from ver.c:19:0:
/usr/include/linux/aufs_type.h:180:27: error: expected :, ,, ;, } or
__attribute__ before * token
make: *** [ver] Error 1
After some trial and error, I found out that if I use the attached patch for
aufs_type.h, then aufs utils compile properly (but I am not sure if that
means it is correct).
--- aufs_type.h 2013-03-08 11:56:34.000000000 -0600
+++ aufs_type.h 2013-03-08 13:58:12.949177844 -0600
@@ -177,7 +177,7 @@
}
union au_rdu_ent_ul {
- struct au_rdu_ent __user *e;
+ struct au_rdu_ent *e;
uint64_t ul;
};
I really do not know what I am doing, I just tried to remove the __user part
and it fixed the compilation error, but that doesn't mean it is the right
thing to do. I have no idea. Does aufs utils compile for you? Am I doing
anything wrong?
Thank you very much
Tomas M
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev