View previous topic :: View next topic |
Author |
Message |
burzmali Apprentice
Joined: 18 Apr 2002 Posts: 238 Location: ca
|
Posted: Fri Apr 26, 2002 10:54 pm Post subject: nvidia-kernel |
|
|
hello,
i just tried to install nvidia-kernel and this is what i get:
#emerge nvidia-kernel
Calculating dependencies \ ...done!
>>> emerge media-video/nvidia-kernel-1.0.2880 to /
>>> md5 ;-) NVIDIA_kernel-1.0-2880.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-2880.tar.gz
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
cc -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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
nv.c: In function `nv_kern_mmap':
nv.c:1438: `PAGE_SHARED' undeclared (first use in this function)
nv.c:1438: (Each undeclared identifier is reported only once
nv.c:1438: for each function it appears in.)
make: *** [nv.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.2880.ebuild .
any ideas on what is up whith that? i tried installing from the nvidia site and got the same error. any help would be appreciated. thanks. _________________ burzmali
www.burzmali.net |
|
Back to top |
|
|
DarrenM l33t
Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Sat Apr 27, 2002 12:25 am Post subject: |
|
|
Looks like it may be missing a header file or somesuch. Do you have the kernel source extracted to /usr/src/linux and have you enabled DRM(DRI) support in the kernel? It's under Character Devices->Direct Rendering Manager
Here is the readme for the nvidia drivers:
http://download.nvidia.com/XFree86_40/1.0-2880/README.txt |
|
Back to top |
|
|
burzmali Apprentice
Joined: 18 Apr 2002 Posts: 238 Location: ca
|
Posted: Sat Apr 27, 2002 1:50 am Post subject: |
|
|
yes DRI is enabled in the kernel and the kerne sourcel is in /usr/src/linux-2.4.9-gentoo. /usr/src/linux is a simlink to it. i have compiled everything else successfully; X, kde, mozilla, etc... maybe i should try an older version? _________________ burzmali
www.burzmali.net |
|
Back to top |
|
|
Guest
|
Posted: Sat Apr 27, 2002 3:38 am Post subject: |
|
|
there is no support for nvidia for dri so thats not the problem. i get this error too, i wouldnt mind a fix for it |
|
Back to top |
|
|
Dunska n00b
Joined: 27 Apr 2002 Posts: 15 Location: Brisbane, Australia
|
Posted: Sat Apr 27, 2002 1:31 pm Post subject: 2.4.19 = no nvidia compile |
|
|
It's the 2.4.19-gentoo kernel... I just compiled the 2.4.18 (vanilla-sources) kernel and the nvidia drivers work fine. |
|
Back to top |
|
|
synnix n00b
Joined: 16 Apr 2002 Posts: 4
|
Posted: Sun Apr 28, 2002 4:19 am Post subject: |
|
|
The problem might be DRI but it might not be.
Just to set it strait, DRI only works on the cards listed in the kernel configuration. The nvidia drivers DO NOT use DRI. nvidia uses it's own kernel module to provide the kernel interface for acceleration. I would recommend recompiling your kernel without DRI support, but with AGP support. If it still does not work, try downloading the official 2.4.18 kernel sources from kernel.org and try that kernel.
And again NVIDIA DOES NOT USE DRI! |
|
Back to top |
|
|
|