View previous topic :: View next topic |
Author |
Message |
bemixam n00b
Joined: 03 Jul 2002 Posts: 62 Location: France (Paris)
|
Posted: Thu Jul 25, 2002 10:59 am Post subject: can t emerge nvidia driver |
|
|
Code: | bash-2.05a# emerge media-video/nvidia-kernel/nvidia-kernel-1.0.2960.ebuild
Calculating dependencies ...done!
>>> emerge media-video/nvidia-kernel-1.0.2960 to /
>>> md5 ;-) NVIDIA_kernel-1.0-2960.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-2960.tar.gz
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
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=2960 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
nv.c:22: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/module.h:11,
from nv.c:25:
/usr/src/linux/include/linux/spinlock.h:245: warning: `read_unlock' redefined
/usr/include/asm/spinlock.h:204: warning: this is the location of the previous definition
/usr/src/linux/include/linux/spinlock.h:247: warning: `write_unlock' redefined
/usr/include/asm/spinlock.h:205: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/poll.h:10,
from nv-linux.h:27,
from nv.c:27:
/usr/src/linux/include/linux/mm.h:430: warning: `page_address' redefined
/usr/include/asm/pgtable.h:270: warning: this is the location of the previous definition
make: *** [nv.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -13, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.2960.ebuild .
|
i think that my problem is due to bad linkage ( kernel r5 and kernel r7 )
i start to emerge with the r7 kernel, but i met this problem
so i thought that use the r5 version could resolve the problem
but it is the same thing.
maybe i have to clean the source before to try with the r5 kernel ..... but how ? _________________ Gentoo c est bieng ! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Jul 25, 2002 11:04 am Post subject: |
|
|
Make sure /usr/src/linux is pointing to the kernel you want to use. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bemixam n00b
Joined: 03 Jul 2002 Posts: 62 Location: France (Paris)
|
Posted: Thu Jul 25, 2002 11:09 am Post subject: |
|
|
thanks .... it works now _________________ Gentoo c est bieng ! |
|
Back to top |
|
|
|