Bug 52: CLOSED
Can't compile a changed kernel with aufs2 (Slitaz 4.0)
Date: 2012-08-14 22:09 - Creator: funkturm - Priority standard - 3 messages
Hello all, I have a problem with compilation of a new kernel. I need a new kernel, because i need additional functionality for my system. My steps are: 1) tazpkg get-install linux-source (everything works fine) 2) get-linux-source (sometime kernel source download is broken) For kernel source download problem I fixed with a manuel download. 3) cd /usr/src/linux-2.6.37 4) make menuconfig This configuration of kernel 2.6.37 doesn't have the aufs filesystem included. I think it's a bug. In linux-source-2.6.30 the aufs files and the patch file 'aufs2-kbuild.patch' are included, but not in linux-source-2.6.37 . Please tell me, when i make a wrong process. Best regards.
Affected package(s): linux-source-2.6.37
Messages
By: border on 2013-01-05 01:36
the instalation is working :paste.slitaz.org/6fca8d9563863ef4#p3ykwCD3X9ToOkEc2vYgPDkFsFtnpblRCl3kjAL2qdE= aufs can be fount here in menuconfig: -->File Systems-->Micellaneous Filesystems-->Aufs[*] (at very bottom).
By: border on 2013-01-05 02:19
but it fail compiling: CC [M] lib/raid6/altivec4.o UNROLL lib/raid6/altivec8.c CC [M] lib/raid6/altivec8.o CC [M] lib/raid6/mmx.o CC [M] lib/raid6/sse1.o CC [M] lib/raid6/sse2.o LD [M] lib/raid6/raid6_pq.o Building modules, stage 2. MODPOST 935 modules ERROR: xz_dec_end [fs/squashfs/squashfs.ko] undefined! ERROR: xz_dec_run [fs/squashfs/squashfs.ko] undefined! ERROR: xz_dec_init [fs/squashfs/squashfs.ko] undefined! ERROR: xz_dec_reset [fs/squashfs/squashfs.ko] undefined! WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: bug bugs.cgi favicon.ico images lib style.css [__modpost] Error 1 make: bug bugs.cgi favicon.ico images lib style.css [modules] Error 2 root@slitaz:/usr/src/linux-2.6.37#
By: pankso on 2014-02-16 21:38
This is normal, you need to download the auf patches. The easiest way to rebuild a custom kernel with all SliTaz patch is to setup a cook environment Or you can follow the doc for a simple kernel build without aufs doc.slitaz.org/en:guides:kernel