Hello Valentin, Valentin Churavy: > In file included from > /usr/src/linux-3.8.1-pf/include/linux/aufs_type.h:19:0, > from ver.c:19: > /usr/src/linux-3.8.1-pf/include/uapi/linux/aufs_type.h:180:27: Error: > expected =C2=BB:=C2=AB, =C2=BB,=C2=AB, =C2=BB;=C2=AB, =C2=BB}=C2=AB or =C2= > =BB__attribute__=C2=AB before =C2=BB*=C2=AB token > make: *** [ver] Error 1
I am afraid you (or your kernel maintainer) forgot to run "make headers_install". (from the aufs README file) ---------------------------------------------------------------------- ::: - install the header files too by "make headers_install" to the directory where you specify. By default, it is $PWD/usr. "make help" shows a brief note for headers_install. ::: or ::: - install the files + run "make install" to install the aufs module, or copy the built $PWD/aufs.ko to /lib/modules/... and run depmod -a (or reboot simply). + run "make install_headers" (instead of headers_install) to install the modified aufs header file (you can specify DESTDIR which is available in aufs standalone version's Makefile only), or copy $PWD/usr/include/linux/aufs_type.h to /usr/include/linux or wherever you like manually. By default, the target directory is $PWD/usr. ::: Note: The header file aufs_type.h is necessary to build aufs-util as well as "make headers_install" in the kernel source tree. headers_install is subject to be forgotten, but it is essentially necessary, not only for building aufs-util. You may not meet problems without headers_install in some older version though. ::: - read README in aufs-util, build and install it - note that your distribution may contain an obsoleted version of aufs_type.h in /usr/include/linux or something. When you build aufs utilities, make sure that your compiler refers the correct aufs header file which is built by "make headers_install." - if you want to use readdir(3) in userspace or pathconf(3) wrapper, then run "make install_ulib" too. And refer to the aufs manual in detail. ---------------------------------------------------------------------- J. R. Okajima ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d