In file included from /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/dcache.c:26: /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:22: error: expected declaration specifiers or ‘...’ before ‘kmem_cache_t’ /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h: In function ‘__kmem_malloc_debug’: /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:25: error: ‘cache’ undeclared (first use in this function) /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:25: error: (Each undeclared identifier is reported only once /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:25: error: for each function it appears in.) /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h: At top level: /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:35: error: expected declaration specifiers or ‘...’ before ‘kmem_cache_t’ /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h: In function ‘__kmem_free_debug’: /var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/shfs_debug.h:41: error: ‘cache’ undeclared (first use in this function) make[2]: *** [/var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6/dcache.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-fs/shfs-0.35-r4/work/shfs-0.35/shfs/Linux-2.6] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24.4' make: *** [default] Error 2 * * ERROR: net-fs/shfs-0.35-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3303: Called linux-mod_src_compile * environment, line 2544: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= -j1 KERNEL_SOURCES=/usr/src/linux default Shingoshi
Created attachment 153489 [details] All logs in one file.
Please search. *** This bug has been marked as a duplicate of bug 215486 ***