On 23/10/2013 08:48, sf...@users.sourceforge.net wrote:
> Ed W:
>> Just to be clear - I'm having trouble compiling the kernel itself.
>> Something in the compile wants a file
>>       include/linux/aufs_type.h
>> but I'm only copying across
>>       include/uapi/linux/aufs_type.h
>> (and then patching and calling make)
> For kernel-space, aufs provides both of these, and uses them directly.
> - $KernelSrc/include/uapi/linux/aufs_type.h
> - $KernelSrc/include/linux/aufs_type.h
>
> "make headers_install" in my previous mail was to provide a header file
> for user-space. So this must not be your current problem.
>
> Don't you have $KernelSrc/include/linux/aufs_type.h?
> Which version of aufs are you using? And how did you get it?
> Unless other patches you applied throws aufs_type.h away, you should
> have it...
>
>

Aha, so yes, confirmed my *understanding* of the instructions also fails 
on vanilla kernel.

So I *think* we need a tweak to the install instructions, currently it 
reads:

 >>>
For aufs3-standalone tree,
There are several ways to build.

1.
- apply ./aufs3-kbuild.patch to your kernel source files.
- apply ./aufs3-base.patch too.
- apply ./aufs3-proc_map.patch too, if you want to make /proc/PID/maps (and
   others including lsof(1)) show the file path on aufs instead of the
   path on the branch fs.
- apply ./aufs3-standalone.patch too, if you have a plan to set
   CONFIG_AUFS_FS=m. otherwise you don't need ./aufs3-standalone.patch.
- copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your
   kernel source tree. Never copy $PWD/include/uapi/linux/Kbuild.
 >>>

I think the copy line should read (excuse line wrap):
- copy 
./{Documentation,fs,include/linux/aufs_type.h,include/uapi/linux/aufs_type.h} 
files to your

Or possibly:
- copy ./{Documentation,fs,include/{/,uapi}/linux/aufs_type.h} files to your

Can you please confirm that I *should* have copied both of these header 
files? (Examining the files suggests yes)

Thanks for aufs!

Ed W

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk

Reply via email to