I have an older Dell with AMD Athlon and nvidia integrated video that I've been using as a PVR hooked up to an HDHomerun dual tuner box. Today, I decided to update the system... big mistake... the nvidia driver will not build. The video hardware according to "lspci -v" ...
03:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Dell Device 0405 Flags: bus master, fast devsel, latency 0, IRQ 7 Memory at f8000000 (32-bit, non-prefetchable) [size=16M] Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at f9000000 (64-bit, non-prefetchable) [size=16M] [virtual] Expansion ROM at fa000000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [78] Express Endpoint, MSI 00 Capabilities: [100] Virtual Channel <?> Capabilities: [128] Power Budgeting <?> "uname -a" reports Linux e521 2.6.36-gentoo-r5 #1 Sat Dec 25 20:36:13 EST 2010 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux "emerge -pqv =x11-drivers/nvidia-drivers-195.36.31" reports [ebuild R ] x11-drivers/nvidia-drivers-195.36.31 USE="-acpi -custom-cflags -gtk (-multilib)" I've attached the build log. Any workarounds, or are the nouveau or nv drivers polished enough that they can be used instead? -- Walter Dnes <waltd...@waltdnes.org>
[32;01m * [39;49;00mPackage: x11-drivers/nvidia-drivers-195.36.31 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: car...@gentoo.org j...@gentoo.org,sp...@gentoo.org [32;01m * [39;49;00mUSE: elibc_glibc kernel_linux userland_GNU x86 [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found kernel object directory: [32;01m*[0m /lib/modules/2.6.36-gentoo-r5/build [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.36-gentoo-r5 [32;01m*[0m Checking for MTRR support ... [A[72C [34;01m[ [32;01mok[34;01m ][0m >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86-195.36.31-pkg0.run to >>> /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 >>> Source unpacked in >>> /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work >>> Preparing source in >>> /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 >>> ... [32;01m*[0m Applying NVIDIA_glx-defines.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying NVIDIA_glx-glheader.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 195.30-unified-arch.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Converting NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [A[72C [34;01m[ [32;01mok[34;01m ][0m >>> Source prepared. >>> Configuring source in >>> /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 >>> ... >>> Source configured. >>> Compiling source in >>> /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 >>> ... [32;01m*[0m Preparing nvidia module make -j1 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build HOST_CC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc clean module NVIDIA: calling KBUILD... make -C /lib/modules/2.6.36-gentoo-r5/build \ KBUILD_SRC=/usr/src/linux-2.6.36-gentoo-r5 \ KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv" -f /usr/src/linux-2.6.36-gentoo-r5/Makefile \ modules test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/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-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.tmp_versions/* make -f /usr/src/linux-2.6.36-gentoo-r5/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include -I/usr/src/linux-2.6.36-gentoo-r5/arch/x86/include -Iinclude -I/usr/src/linux-2.6.36-gentoo-r5/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=k8 -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -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-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.c /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.c:417: error: unknown field 'ioctl' specified in initializer /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.c:417: warning: initialization from incompatible pointer type make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.o] Error 1 make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/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 emake failed [31;01m*[0m ERROR: x11-drivers/nvidia-drivers-195.36.31 failed: [31;01m*[0m Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build HOST_CC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc clean module [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 56: Called src_compile [31;01m*[0m environment, line 4135: Called linux-mod_src_compile [31;01m*[0m environment, line 3045: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m 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}"; [31;01m*[0m [31;01m*[0m If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-195.36.31', [31;01m*[0m the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-195.36.31'. [31;01m*[0m The complete build log is located at '/var/log/portage/x11-drivers:nvidia-drivers-195.36.31:20101226-015244.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/temp/environment'. [31;01m*[0m S: '/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0'