* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-gentoo-r9 >>> Unpacking source... >>> Unpacking dmraid-1.0.0.rc8.tar.bz2 to /var/tmp/portage/dmraid-1.0.0_rc8-r1/work >>> Source unpacked. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl tools/dmraid.c:12:20: dmraid.h: No such file or directory In file included from tools/dmraid.c:13: tools/commands.h:68: warning: "struct lib_context" declared inside parameter list tools/commands.h:68: warning: its scope is only this definition or declaration, which is probably not what you want tools/commands.h:100: warning: "struct lib_context" declared inside parameter list tools/commands.h:103: warning: "struct lib_context" declared inside parameter list tools/commands.h:104: warning: "struct lib_context" declared inside parameter list In file included from tools/dmraid.c:14: tools/toollib.h:14: warning: "struct lib_context" declared inside parameter list tools/toollib.h:15: warning: "struct lib_context" declared inside parameter list tools/toollib.h:17: warning: "struct lib_context" declared inside parameter list tools/toollib.h:18: warning: "struct lib_context" declared inside parameter list tools/toollib.h:19: warning: "struct lib_context" declared inside parameter list tools/toollib.h:20: warning: "struct lib_context" declared inside parameter list tools/toollib.h:23: warning: "struct lib_context" declared inside parameter list tools/dmraid.c: In function `main': tools/dmraid.c:23: warning: implicit declaration of function `libdmraid_init' tools/dmraid.c:23: warning: nested extern declaration of `libdmraid_init' tools/dmraid.c:23: warning: assignment makes pointer from integer without a cast tools/dmraid.c:32: warning: implicit declaration of function `init_locking' tools/dmraid.c:32: warning: nested extern declaration of `init_locking' tools/dmraid.c:42: warning: implicit declaration of function `libdmraid_exit' tools/dmraid.c:42: warning: nested extern declaration of `libdmraid_exit' make: *** [tools/dmraid] Error 1 make: *** Waiting for unfinished jobs.... ar: creating ../lib/libdmraid.a ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.so !!! ERROR: sys-fs/dmraid-1.0.0_rc8-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-gentoo-r9 >>> Unpacking source... >>> Unpacking dmraid-1.0.0.rc8.tar.bz2 to /var/tmp/portage/dmraid-1.0.0_rc8-r1/work >>> Source unpacked. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl tools/dmraid.c:12:20: dmraid.h: No such file or directory In file included from tools/dmraid.c:13: tools/commands.h:68: warning: "struct lib_context" declared inside parameter list tools/commands.h:68: warning: its scope is only this definition or declaration, which is probably not what you want tools/commands.h:100: warning: "struct lib_context" declared inside parameter list tools/commands.h:103: warning: "struct lib_context" declared inside parameter list tools/commands.h:104: warning: "struct lib_context" declared inside parameter list In file included from tools/dmraid.c:14: tools/toollib.h:14: warning: "struct lib_context" declared inside parameter list tools/toollib.h:15: warning: "struct lib_context" declared inside parameter list tools/toollib.h:17: warning: "struct lib_context" declared inside parameter list tools/toollib.h:18: warning: "struct lib_context" declared inside parameter list tools/toollib.h:19: warning: "struct lib_context" declared inside parameter list tools/toollib.h:20: warning: "struct lib_context" declared inside parameter list tools/toollib.h:23: warning: "struct lib_context" declared inside parameter list tools/dmraid.c: In function `main': tools/dmraid.c:23: warning: implicit declaration of function `libdmraid_init' tools/dmraid.c:23: warning: nested extern declaration of `libdmraid_init' tools/dmraid.c:23: warning: assignment makes pointer from integer without a cast tools/dmraid.c:32: warning: implicit declaration of function `init_locking' tools/dmraid.c:32: warning: nested extern declaration of `init_locking' tools/dmraid.c:42: warning: implicit declaration of function `libdmraid_exit' tools/dmraid.c:42: warning: nested extern declaration of `libdmraid_exit' make: *** [tools/dmraid] Error 1 make: *** Waiting for unfinished jobs.... ar: creating ../lib/libdmraid.a ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.so !!! ERROR: sys-fs/dmraid-1.0.0_rc8-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.