Trying to emerge loop-aes with kernel 2.6.19-gentoo-r4 fails with
"linux/config.h: No such file or directory".
Reproducible: Always
Steps to Reproduce:
1. emerge and compile gentoo-sources-2.19.4-r4
2. emerge loop-aes
Actual Results:
cd /usr/src/linux && i686-pc-linux-gnu-gcc -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include -D__KERNEL__ -Iinclude -include
include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Os -pipe -msoft-float
-mpreferred-stack-boundary=2 -march=i686 -mtune=pentium3 -mregparm=3
-ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fasynchronous-unwind-tables -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -DMODULE
-D"KBUILD_STR(s)=#s" -DX86_ASM -D"KBUILD_BASENAME=KBUILD_STR(patched_loop)"
-D"KBUILD_MODNAME=KBUILD_STR(loop)" -DEXPORT_SYMTAB -c
/var/tmp/portage/loop-aes-3.1d/work/loop-AES-v3.1d/patched-loop.c -o
/var/tmp/portage/loop-aes-3.1d/work/loop-AES-v3.1d/patched-loop.o
/var/tmp/portage/loop-aes-3.1d/work/loop-AES-v3.1d/patched-loop.c:72:26: error:
linux/config.h: No such file or directory
make[2]: *** [patched-loop.o] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r4'
make: *** [all] Error 2
!!! ERROR: sys-fs/loop-aes-3.1d failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called linux-mod_src_compile
linux-mod.eclass, line 510: Called die
!!! Unable to make LINUX_SOURCE=/usr/src/linux MODINST=n RUNDM=n all.
Expected Results:
loop-aes compiled and merged.