Mmmm, I suspect some major problems?
[EMAIL PROTECTED] richard # make menuconfig make: *** No rule to make target `menuconfig'. Stop. On Sun, 16 Mar 2003 04:08 am, you wrote: > OK...first problem I see is you seem to be missing > /usr/src/linux/include/linux/modversions.h > and for some reason the compiler is not including asm/page.h > > I would try running a make menuconfig and then a make dep then repeat > the emerge nvidia-kernel, and see if that cleans up some of these > undeclared funcs.... > > On Sunday 16 March 2003 08:24 pm, richard terry wrote: > > I think I've recovered my source tree (fortunately I made a complete > > backup of the /usr/src directory before I started! > > > > Here is the result of the emerge: > > > > Athlon_gentoo / # !492 > > emerge nvidia-kernel 2>&1 |tee nvkernelstuffed > > > > >>> Unpacking source... > > >>> Unpacking NVIDIA_kernel-1.0-3123.tar.gz to > > > > /var/tmp/portage/nvidia-kernel-1.0.3123-r2/work > > * Applying page_alloc.c patch... > > [ ok ] > > > > >>> Source unpacked. > > > > rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d > > NVdriver > > 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 > > -DRM_HEAPMGR > > -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 > > -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX > > -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/vmalloc.h:8, > > from nv-linux.h:57, > > from nv.c:14: > > /usr/src/linux/include/linux/highmem.h: In function `kmap': > > /usr/src/linux/include/linux/highmem.h:68: `PAGE_OFFSET_RAW' undeclared > > (first use in this function) > > /usr/src/linux/include/linux/highmem.h:68: (Each undeclared identifier is > > reported only once > > /usr/src/linux/include/linux/highmem.h:68: for each function it appears > > in.) In file included from /usr/src/linux/include/asm/pci.h:40, > > from /usr/src/linux/include/linux/pci.h:622, > > from nv-linux.h:62, > > from nv.c:14: > > /usr/src/linux/include/asm/io.h: In function `virt_to_phys': > > /usr/src/linux/include/asm/io.h:78: `PAGE_OFFSET_RAW' undeclared (first > > use in this function) > > /usr/src/linux/include/asm/io.h: In function `phys_to_virt': > > /usr/src/linux/include/asm/io.h:96: `PAGE_OFFSET_RAW' undeclared (first > > use in this function) > > /usr/src/linux/include/asm/io.h: In function `isa_check_signature': > > /usr/src/linux/include/asm/io.h:268: `PAGE_OFFSET_RAW' undeclared (first > > use in this function) > > nv.c: In function `nvos_malloc_pages': > > nv.c:444: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > nv.c: In function `nvos_unlock_pages': > > nv.c:484: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > nv.c: In function `nv_find_kernel_mapping': > > nv.c:2253: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > nv.c: In function `nv_get_phys_address': > > nv.c:2284: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > nv.c: In function `nv_alloc_pages': > > nv.c:2375: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > nv.c: In function `nv_free_pages': > > nv.c:2518: `PAGE_OFFSET_RAW' undeclared (first use in this function) > > make: *** [nv.o] Error 1 > > > > !!! ERROR: media-video/nvidia-kernel-1.0.3123-r2 failed. > > !!! Function src_compile, Line 75, Exitcode 2 > > !!! (no error message) > > > > Calculating dependencies ...done! > > > > >>> emerge (1 of 1) media-video/nvidia-kernel-1.0.3123-r2 to / > > >>> md5 ;-) NVIDIA_kernel-1.0-3123.tar.gz > > > > Is this any help? > > > > Thanks > > > > Richard > > > > On Sun, 16 Mar 2003 03:07 am, Pete Cable wrote: > > > OK.../usr/src should have contained all your kernel source (including > > > your win4lin sources unless you put them somewhere else.) If you do > > > have them somewhere else, then you should be able to just recreate that > > > directory and link your kernel source to /usr/src/linux > > > > > > eg (assuming /usr/src does NOT exist) > > > > > > # cd /usr > > > # mkdir src > > > # cd src > > > # ln -s /path/to/source linux > > > > > > IF you don't have the win4lin kernel sources somewhere else, you will > > > have to re-download them. > > > > > > eg (assuming /usr/src does NOT exist) > > > > > > # cd /usr > > > # mkdir src > > > # emerge sys-kernel/win4lin-sources > > > > > > Hope this helps..... > > > > > > Pete > > > > > > On Sunday 16 March 2003 07:52 pm, you wrote: > > > > Sorry to be a pain, but I think I'm really in trouble now. I tried to > > > > do the symbolic link previously suggested and I think I deleted the > > > > usr/src directory. Was this just an empty directory, pointing to the > > > > source tree, or have I deleted heaps of valuable stuff out of it. > > > > > > > > I'll try just re-creating the directory and then linking it using the > > > > gui to the win4lin source tree. Do I have to reboot using the win4lin > > > > Kernel to redo the nvidia stuff, or can I still stay with the gentoo > > > > kernel and do it as long as the /usr/src points to the win4lin > > > > sources? > > > > > > > > > try this: > > > > > > > > > > # emerge nvidia-kernel 2>&1 | tee FILENAME > > > > > > > > > > substituting whatever file you want to send the output to for > > > > > FILENAME.... > > > > > > -- > > > [EMAIL PROTECTED] mailing list > > > > -- > > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
