Hi Phil,

Phil Miller:
> I managed to build aufs2 now. I edited my PKGBUILD:

I noticed I was confused your case with concurrent another user's case.
For him, I added CFLAGS_f_op.o in fs/aufs/Makefile in the version
20100412. But I am considering to revert it since I am afraid he just
specified an incorrect KDIR path and CFLAGS_f_op.o is not related to
your case. CFLAGS_f_op.o is totally unnecessary for you.

Then why did you fail building the module in the beginning?
>From your URL
http://chakra-project.org/bbs/viewtopic.php?id=2569
I could see

p...@[chroot]:~/kdemod/chakra/aufs2$ ../makepkg
==> Making package: aufs2 2.6.33_20100411-1chakra i686 (Sun Apr 11 21:09:57 UTC 
2010)
        :::
make[1]: Entering directory `/usr/src/linux-2.6.33-ARCH'
        :::
  CC [M]  
/home/phil/kdemod/chakra/aufs2/src/aufs2-2.6.33_20100411/fs/aufs/f_op.o
/home/phil/kdemod/chakra/aufs2/src/aufs2-2.6.33_20100411/fs/aufs/f_op.c: In 
function 'aufs_mmap':
/home/phil/kdemod/chakra/aufs2/src/aufs2-2.6.33_20100411/fs/aufs/f_op.c:668: 
error: implicit declaration of function 'mutex_set_owner'

It shows,
- the compiler succeeded to include "../kernel/mutex.h" (so
  CFLAGS_f_op.o is unnecessary).
- but the file didn't contain mutex_set_owner().

So I'd ask you what is your /usr/src/linux-2.6.33-ARCH?
To build aufs2 module, you need kernel source tree.
And fs/aufs/f_op.c expects /usr/src/linux-2.6.33-ARCH/kernel/mutex.h (or
mutex-debug.h) contains mutex_set_owner().


J. R. Okajima

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Reply via email to