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)
What I did was checkout aufs-util. Git checkout aufs-3.0 edit Makefile and add -I/usr/src/linux/include to CFLAGS (not CPPFLAGS as per the README) make 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 compiler is gcc-4.5.3 Any help on figuring out what I should have done please? Thanks Ed W ------------------------------------------------------------------------------ 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