View previous topic :: View next topic |
Author |
Message |
mark_alec Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/153763560547ad83e5abc42.png)
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sat Apr 02, 2005 11:49 am Post subject: [solved]yet another nvidia-kernel woe |
|
|
While emerging nvidia-kernel 6629 for 2.6.11-r4 I get the error message. Code: | /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:173: error: request for member `enable' in something not a st
ructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:185: error: request for member `release' in something not a s
tructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:186: warning: `inter_module_put' is deprecated (declared at i
nclude/linux/module.h:578)
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernTeardownAGP':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:216: error: request for member `release' in something not a s
tructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:218: warning: `inter_module_put' is deprecated (declared at i
nclude/linux/module.h:578)
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernAllocAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:265: error: request for member `allocate_memory' in something
not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:273: error: request for member `bind_memory' in something not
a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:290: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:305: error: request for member `free_memory' in something not
a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernMapAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:345: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernFreeAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:444: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:445: error: request for member `free_memory' in something not
a structure or union
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1
.0-6629-pkg1/usr/src/nv/os-agp.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Lin
ux-x86-1.0-6629-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2 |
I have never had this problem before. The nvidia kernel works fine with 2.6.9-gentoo-r13.
Last edited by mark_alec on Sat Apr 02, 2005 12:17 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roog Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 01 Aug 2004 Posts: 100
|
Posted: Sat Apr 02, 2005 12:01 pm Post subject: |
|
|
You should add '=media-video/nvidia-kernel-1.0.6629-r4 ~ARCH' to /etc/portage/package.keywords. The r1 version doesn't compile with the 2.6.11-r4 kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mark_alec Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/153763560547ad83e5abc42.png)
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sat Apr 02, 2005 12:17 pm Post subject: |
|
|
roog, thanks for the quick reply that solved it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|