* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.30-gentoo-r5/build * Found sources for kernel version: * 2.6.30-gentoo-r5 * Checking for MTRR support ... [ ok ] * Checking for SYSVIPC support ... [ ok ] >>> Unpacking source... Creating directory NVIDIA-Linux-x86_64-173.14.18-pkg2 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 173.14.18........................................................................................................................................... >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2 ... * Applying NVIDIA_glx-defines.patch ... [ ok ] * Applying NVIDIA_glx-glheader.patch ... [ ok ] * Converting NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/Makefile.kbu [ ok ]se M= instead of SUBDIRS= ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2 ... * Preparing nvidia module make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r5/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module NVIDIA: calling KBUILD... make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r5/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv modules make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make -C /lib/modules/2.6.30-gentoo-r5/build \ KBUILD_SRC=/usr/src/linux-2.6.30-gentoo-r5 \ KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv" -f /usr/src/linux-2.6.30-gentoo-r5/Makefile \ modules test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/.tmp_versions/* make -f /usr/src/linux-2.6.30-gentoo-r5/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include -Iinclude -Iinclude2 -I/usr/src/linux-2.6.30-gentoo-r5/include -I/usr/src/linux-2.6.30-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -fstack-protector-all -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -I/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.18\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c: In function 'nvos_proc_create': /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:610: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:611: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:612: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:632: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:645: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:656: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:666: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:676: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:687: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:694: error: 'struct proc_dir_entry' has no member named 'owner' /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c: In function 'nvos_proc_add_warning_file': /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c:721: error: 'struct proc_dir_entry' has no member named 'owner' make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.o] Error 1 make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv] Error 2 make[2]: *** [sub-make] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 * * ERROR: x11-drivers/nvidia-drivers-173.14.18 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3945: Called linux-mod_src_compile * environment, line 2941: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r5/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/temp/environment'. * \