View previous topic :: View next topic |
Author |
Message |
Coo1On3 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_maul.gif)
Joined: 29 Jun 2004 Posts: 49 Location: Puerto Rico
|
Posted: Fri Aug 06, 2004 5:45 pm Post subject: [nvidia] emerge drivers problems (SOLVED) |
|
|
Hi everybody my problems is this, I try to emerge the nvidia-glx first but this problems appers:
Code: |
* Linux kernel 2.4.26
>>> 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 -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:24:31: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux/include/linux/spinlock.h:218:1: warning: "read_unlock" redefined
In file included from /usr/src/linux/include/linux/spinlock.h:59,
from /usr/src/linux/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/spinlock.h:200:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux/include/linux/spinlock.h:220:1: warning: "write_unlock" redefined
In file included from /usr/src/linux/include/linux/spinlock.h:59,
from /usr/src/linux/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/spinlock.h:201:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/processor.h:75: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:17,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:71,
from nv.c:14:
/usr/include/asm/mpspec.h:205: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:21,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:71,
from nv.c:14:
/usr/include/asm/apic.h:88: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:71,
from nv.c:14:
/usr/include/asm/smp.h:66: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
/usr/include/asm/smp.h:66: confused by earlier errors, bailing out
make: *** [nv.o] Error 1
!!! ERROR: media-video/nvidia-kernel-1.0.4496-r3 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! (no error message)
|
any ideas?
Thanks! _________________ never said... never...
Last edited by Coo1On3 on Thu Aug 26, 2004 7:10 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
semi-fly Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1556576565426a5c7cb6011.jpg)
Joined: 08 Dec 2003 Posts: 91 Location: Ann Arbor MI
|
Posted: Fri Aug 06, 2004 6:42 pm Post subject: |
|
|
Hi!
This looks like a masking problem - NVIDIA+ 2.6 kernel howto
I had to uncommet my masking entry in '/etc/make.conf' last week in order to compile the latest nvidia drivers - compiled without any problems after that. _________________ whatever.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Coo1On3 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_maul.gif)
Joined: 29 Jun 2004 Posts: 49 Location: Puerto Rico
|
Posted: Sat Aug 07, 2004 1:13 am Post subject: |
|
|
nop, the problems continues.
any ideas? _________________ never said... never... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
semi-fly Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1556576565426a5c7cb6011.jpg)
Joined: 08 Dec 2003 Posts: 91 Location: Ann Arbor MI
|
Posted: Sat Aug 07, 2004 3:40 am Post subject: |
|
|
hmmm...
Any problems emerging the nvidia-kernel drivers? _________________ whatever.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Coo1On3 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_maul.gif)
Joined: 29 Jun 2004 Posts: 49 Location: Puerto Rico
|
Posted: Sat Aug 07, 2004 5:27 pm Post subject: |
|
|
yes the same problems in nvidia-kernel and nvidia-glx.
Thanks _________________ never said... never... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_Nomad_ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17919406994596e70be6721.jpg)
Joined: 11 Apr 2003 Posts: 571
|
Posted: Sat Aug 07, 2004 9:41 pm Post subject: |
|
|
I would try reemerging your kernel and see if the problem goes away... looks like there's a file that's not found... alternatly your linux-headers... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|