And to finish what I started and make a short story short, I do not
install the kernel headers files and aufs2-util just coompile fine if
the path to <linux/aufs_type.h> is included in your make command. I
provide the header location by a C_INCLUDE_PATH="$KERNEL_DIR"/include to
`make' and everything go as expected when compiling against the 3.0.1
kernel previously cited.


On Tue, 2011-07-26 at 18:01 -0700, Serge Leschinsky wrote:
> Hello Junjiro,
> 
> 
> I'm truing to build aufs2-util from "origin/aufs2.1"  with kernel 3.0 and get 
> the following error:
> 
> > cc -mtune=generic -march=x86-64 -I./libau -O -Wall -I 
> > /data/build/tmp/linux-3.0/usr/include -I/data/build/tmp/linux-3.0/include 
> > -DMOUNT_CMD_PATH=\"\"   ver.c   -o ver
> > In file included from ver.c:19:0:
> > /data/build/tmp/linux-3.0/include/linux/aufs_type.h:164:27: error: expected 
> > ':', ',', ';', '}' or '__attribute__' before '*' token
> 
>  > grep AUFS_VERSION ./aufs_type.h
>  > #define AUFS_VERSION    "2.1-standalone.tree-3.0-rcN-20110718"
> 
> Is it known problem? I looked thru the email archive but unfortunately didn’t 
> find the solution.
> 
> 
> Thank you in advance,
> Serge
> 
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev

Reply via email to