On Wednesday 17 September 2003 11:03 am, Ricardo Nuno wrote: > Hi, > > I had that problem before i upgraded my kernel to gentoo-r7 > what is the kernel that your using ?
I'm still using 2.4.20-gentoo-r1 but I fail to see why that should effect it > > regards, > RNuno > > -----Original Message----- > From: Ernie Schroder [mailto:[EMAIL PROTECTED] > Sent: quarta-feira, 17 de Setembro de 2003 15:11 > To: [EMAIL PROTECTED] > Subject: [gentoo-user] nvidia kernel upgrade > > > Is anyone else having a problem upgrading nvidia kernel? I've tried > with and without an Xserver running. Do I need to emerge -C my > older nvidia-kernel first? > > $ sudo emerge nvidia-kernel > Calculating dependencies ...done! > > >>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4363-r3 to / > >>> md5 src_uri ;-) NVIDIA_kernel-1.0-4363.tar.gz > >>> Unpacking source... > >>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to > > /var/tmp/portage/nvidia-kernel-1.0.4363-r3/work > * Linux kernel 2.4.20 > > >>> 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 -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=4363 > -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. > -I/usr/src/linux/include -Wno-cast-qual nv.c > In file included from /usr/src/linux/include/linux/capability.h:17, > from /usr/src/linux/include/linux/binfmts.h:6, > from /usr/src/linux/include/linux/sched.h:9, > from /usr/src/linux/include/linux/mm.h:22, > from /usr/src/linux/include/linux/slab.h:14, > from nv-linux.h:71, > from nv.c:14: > /usr/src/linux/include/linux/fs.h:297:35: linux/supermount_fs_i.h: > No such file or directory > In file included from /usr/src/linux/include/linux/capability.h:17, > from /usr/src/linux/include/linux/binfmts.h:6, > from /usr/src/linux/include/linux/sched.h:9, > from /usr/src/linux/include/linux/mm.h:22, > from /usr/src/linux/include/linux/slab.h:14, > from nv-linux.h:71, > from nv.c:14: > /usr/src/linux/include/linux/fs.h:517: field `supermount_i' has > incomplete type > In file included from /usr/src/linux/include/linux/sched.h:28, > from /usr/src/linux/include/linux/mm.h:22, > from /usr/src/linux/include/linux/slab.h:14, > from nv-linux.h:71, > from nv.c:14: > /usr/include/linux/fs_struct.h: In function `set_fs_root': > /usr/include/linux/fs_struct.h:34: `current' undeclared (first use > in this function) > /usr/include/linux/fs_struct.h:34: (Each undeclared identifier is > reported only once > /usr/include/linux/fs_struct.h:34: for each function it appears > in.) In file included from /usr/src/linux/include/linux/sched.h:28, > from /usr/src/linux/include/linux/mm.h:22, from > /usr/src/linux/include/linux/slab.h:14, from nv-linux.h:71, > from nv.c:14: > /usr/include/linux/fs_struct.h: In function `set_fs_pwd': > /usr/include/linux/fs_struct.h:57: `current' undeclared (first use > in this function) > In file included from /usr/src/linux/include/linux/sched.h:30, > from /usr/src/linux/include/linux/mm.h:22, > from /usr/src/linux/include/linux/slab.h:14, > from nv-linux.h:71, > from nv.c:14: > /usr/src/linux/include/linux/grsecurity.h:12:26: linux/grdefs.h: No > such file or directory > /usr/src/linux/include/linux/grsecurity.h:56:25: linux/grmsg.h: No > such file or directory > In file included from /usr/src/linux/include/linux/mm.h:22, > from /usr/src/linux/include/linux/slab.h:14, > from nv-linux.h:71, > from nv.c:14: > /usr/src/linux/include/linux/sched.h: At top level: > /usr/src/linux/include/linux/sched.h:172: warning: type mismatch > with previous implicit declaration > /usr/include/linux/fs_struct.h:62: warning: previous implicit > declaration of `preempt_schedule_R707f93dd' > /usr/src/linux/include/linux/sched.h:172: warning: > `preempt_schedule_R707f93dd' was previously implicitly declared to > return `int' > In file included from nv.c:14: > nv-linux.h:167:2: #error "Couldn't determine number of arguments > expected by remap_page_range!" > nv.c: In function `nv_kern_mmap': > nv.c:1295: warning: implicit declaration of function > `NV_REMAP_PAGE_RANGE' > make: *** [nv.o] Error 1 > > !!! ERROR: media-video/nvidia-kernel-1.0.4363-r3 failed. > !!! Function src_compile, Line 114, Exitcode 2 > !!! (no error message) -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list