Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[nvidia] emerge drivers problems (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Coo1On3
n00b
n00b


Joined: 29 Jun 2004
Posts: 49
Location: Puerto Rico

PostPosted: Fri Aug 06, 2004 5:45 pm    Post subject: [nvidia] emerge drivers problems (SOLVED) Reply with quote

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
View user's profile Send private message
semi-fly
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 91
Location: Ann Arbor MI

PostPosted: Fri Aug 06, 2004 6:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Coo1On3
n00b
n00b


Joined: 29 Jun 2004
Posts: 49
Location: Puerto Rico

PostPosted: Sat Aug 07, 2004 1:13 am    Post subject: Reply with quote

nop, the problems continues.
any ideas?
_________________
never said... never...
Back to top
View user's profile Send private message
semi-fly
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 91
Location: Ann Arbor MI

PostPosted: Sat Aug 07, 2004 3:40 am    Post subject: Reply with quote

hmmm...
Any problems emerging the nvidia-kernel drivers?
_________________
whatever..
Back to top
View user's profile Send private message
Coo1On3
n00b
n00b


Joined: 29 Jun 2004
Posts: 49
Location: Puerto Rico

PostPosted: Sat Aug 07, 2004 5:27 pm    Post subject: Reply with quote

yes the same problems in nvidia-kernel and nvidia-glx.

Thanks
_________________
never said... never...
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Sat Aug 07, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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