It used to be possible to build aufs without the full kernel sources, 
but now this doesn't work, I get the following:

...

make[1]: Entering directory `/usr/src/linux-2.6.23-ARCH'
grep: /usr/src/linux-2.6.23-ARCH/mm/shmem.c: No such file or directory
   CC [M]  /home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/module.o
In file included from 
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/branch.h:31,
                  from 
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/aufs.h:97,
                  from 
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/module.c:23:
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/super.h: In function 
‘au_test_trunc_xino’:
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/super.h:274: error: 
expected expression before ‘!=’ token
/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/super.h:275: error: 
expected expression before ‘)’ token
make[2]: *** [/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs/module.o] 
Error 1
make[1]: *** [_module_/home/mt/abs_builds/aufs/src/aufs-build/fs/aufs] 
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-ARCH'
make: *** [fs/aufs/aufs.ko] Error 2

...

Is there any way of getting the old behaviour back? In Arch Linux there 
is no package containing the full sources, additional kernel modules are 
generally built against the skeleton of headers/Kconfigs/etc. So it is 
quite annoying to need the full sources - especially as kernel updates 
are rather frequent in Arch.

Regards,
mt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to