Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43414 - Nvidia 1.0.5336-r1 doesn't build on 2.6.3-r1
Summary: Nvidia 1.0.5336-r1 doesn't build on 2.6.3-r1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 13:37 UTC by Ben
Modified: 2004-04-04 13:29 UTC (History)
1 user (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 Ben 2004-03-01 13:37:05 UTC
I've been trying to get nvidia set-up for a 2.6.3-r1 kernel and am getting the following when I try to emerge nvidia-kernel: 
ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.5336-r1 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-5336-pkg1.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-5336-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-5336................................................................................................................................................................................
 * Linux kernel 2.6.3
 * Applying basic sysfs patch ...                                                                               [ ok ]>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5336  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86 -DREMAP_PAGE_RANGE_5 -DHAVE_CLASS_SIMPLE  -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c
In file included from nv-linux.h:52,
                 from nv.c:14:
/usr/src/linux/include/linux/module.h:462: error: variable `__this_module' has initializer but incomplete type
/usr/src/linux/include/linux/module.h:463: error: unknown field `name' specified in initializer
/usr/src/linux/include/linux/module.h:463: warning: excess elements in struct initializer
/usr/src/linux/include/linux/module.h:463: warning: (near initialization for `__this_module')
/usr/src/linux/include/linux/module.h:464: error: unknown field `init' specified in initializer
/usr/src/linux/include/linux/module.h:464: warning: excess elements in struct initializer
/usr/src/linux/include/linux/module.h:464: warning: (near initialization for `__this_module')
nv.c:1207: warning: initialization from incompatible pointer type
/usr/src/linux/include/linux/module.h:462: error: storage size of `__this_module' isn't known
make: *** [nv.o] Error 1
 
!!! ERROR: media-video/nvidia-kernel-1.0.5336-r1 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! (no error message)

The  same error results when I try to emerge unmasked version of nvidia-kernel (1.0.4496-r3) while running the 2.6.3-r1 kernel.  I have unmerged all previous versions of nvidia-kernel on my machine.  I'm still pretty new to linux, any ideas?
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-03 20:00:16 UTC
Still a problem on latest 2.6?
Comment 2 Ben 2004-04-03 23:03:47 UTC
No - seems to work fine.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-04 13:29:03 UTC
OK, let us know if it comes up with newer kernels.