Hi

On Monday 19 December 2011, Matthijs Kooijman wrote:
> (Please CC me, I'm not subscribed)
> 
> Hi folks,
> 
> I'm having some problems compiling aufs3, from the aufs3-standalone.git
> repository, aufs3.x-rcN branch, as an external module.
> 
> At the end of compilation, I get:
> 
>   Building modules, stage 2.
>     MODPOST 2998 modules
>     ERROR: "__devcgroup_inode_permission" [fs/aufs/aufs.ko] undefined!
>     WARNING: modpost: Found 18 section mismatch(es).
>     To see full details build your kernel with:
>     'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>     make[2]: *** [__modpost] Error 1
>     make[1]: *** [modules] Error 2
>     make[1]: Leaving directory `/usr/src/linux'
>     make: *** [debian/stamp/build/kernel] Error 2

You'll need to include <linux/export.h> in security/device_cgroup.c, to
have EXPORT_SYMBOL (imho EXPORT_SYMBOL_GPL would make more sense in 
aufs3-standalone.patch) available to the module.

Regards
        Stefan Lippers-Hollmann

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

Reply via email to