Hello,

I have a 3.2.6 kernel with aufs3 support built in:

[johnea@beagle aufs-util]$ zcat /proc/config.gz | grep AUFS
CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
# CONFIG_AUFS_EXPORT is not set
CONFIG_AUFS_RDU=y
CONFIG_AUFS_PROC_MAP=y
CONFIG_AUFS_SP_IATTR=y
# CONFIG_AUFS_SHWH is not set
# CONFIG_AUFS_BR_RAMFS is not set
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
CONFIG_AUFS_BR_HFSPLUS=y
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set

I've retrieved aufs-util from git origin/aufs3.0 and am attempting to build it.

The build error seems the indicate the "__user" macro is not being defined:

cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector 
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I./libau -O -Wall -I 
/usr/src/linux-3.2.6-2-ARCH/include -DMOUNT_CMD_PATH=\"\"   ver.c   -o ver
In file included from ver.c:19:0:
/usr/src/linux-3.2.6-2-ARCH/include/linux/aufs_type.h:179:27: error: expected 
‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
distcc[27100] ERROR: compile ver.c on localhost failed
make: *** [ver] Error 1

The /usr/src/linux-3.2.6-2-ARCH/include directory contains linux/aufs_type.h as 
pulled with the aufs3.2 standalone patches:

[johnea@beagle aufs-util]$ ls -l 
/usr/src/linux-3.2.6-2-ARCH/include/linux/aufs_type.h
-rw-r--r-- 1 root root 6222 Feb 16 18:50 
/usr/src/linux-3.2.6-2-ARCH/include/linux/aufs_type.h

I confirmed with diff -w that the included file matches that from sourceforge 
git.

Thank you for AUFS! Any guidance on correcting this build error would be 
greatly appreciated...

johnea


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Reply via email to