The problem just may have something to do with my kernel. For an unrelated reason I wanted to add a module (usb scanner support) to my running kernel and I can't do a make menuconfig. I can do make xconfig and save the config but building the kernel fails. Reference: [gentoo-user] make menuconfig error
Ernie On Wednesday 17 September 2003 02:35 pm, Alberto Bert wrote: > I'm using gentoo-source-2.4.19-r10 and I haven't got any problem in > the nvidia update. > > don't know if that can help :-| > > alb > > On Sep 17 at 10:10AM-0400, Ernie Schroder wrote: > > 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 > > -- > [EMAIL PROTECTED] mailing list -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
