Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273802 - x11-drivers/nvidia-drivers-173.14.18 (required for older cards) needs to be patch to build against 2.6.30
Summary: x11-drivers/nvidia-drivers-173.14.18 (required for older cards) needs to be p...
Status: RESOLVED DUPLICATE of bug 273539
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 01:45 UTC by Joshua Hoblitt
Modified: 2009-06-12 13:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Hoblitt 2009-06-12 01:45:57 UTC
A patch is available from here http://kanotix.com/files/96.43.11/NVIDIA_kernel-96.43.11-2.6.30.diff


Without it, the build fails:

>>> Compiling source in /opt/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2 ...
 * Preparing nvidia module
make -j3 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=/usr/src/linux HOST_CC=x86_64-pc-linux-gnu-gcc clean module 
NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/opt/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.
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 /opt/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 /opt/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 scripts/Makefile.build obj=/opt/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv
  cc -Wp,-MD,/opt/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.2/include -Iinclude  -I/usr/src/linux-2.6.30-gentoo/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m64 -march=k8 -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 -fwrapv -I/opt/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 /opt/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/.tmp_nv.o /opt/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv/nv.c
/opt/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':
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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'
/opt/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':
/opt/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[3]: *** [/opt/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[2]: *** [_module_/opt/tmp/portage/x11-drivers/nvidia-drivers-173.14.18/work/NVIDIA-Linux-x86_64-173.14.18-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2


Reproducible: Always
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2009-06-12 13:12:13 UTC

*** This bug has been marked as a duplicate of bug 273539 ***