Hello > -----Ursprüngliche Nachricht----- > Von: Ed W [mailto:li...@wildgooses.com] > Gesendet: Montag, 5. März 2012 00:53 > An: aufs-users@lists.sourceforge.net > Betreff: aufs-util build problem > > Sorry, this is bound to be an idiot error... > > I'm struggling to compile aufs-util for aufs3. I need to build it on a > machine running a much older kernel, so basically the new kernel source > (3.2.10) is in /usr/src/linux and I'm trying to build against that (the > new kernel src includes aufs patches in non modular form - kernel boots > ok) > > I then get: > > # make > cc -I./libau -I/usr/src/linux/include -O -Wall -DMOUNT_CMD_PATH=\"\" > ver.c -o ver > In file included from ver.c:19:0: > /usr/src/linux/include/linux/aufs_type.h:179:27: error: expected ':', > ',', ';', '}' or '__attribute__' before '*' token > make: *** [ver] Error 1
I had the same problem. I was able to build without problems with the following steps: cd /usr/src/linux make headers_install cd aufs-utils-src CPPFLAGS="-I /usr/src/linux/usr/include" make ^^^^^^ Best regards Elmar
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2