Re: nvidia driver won't compile with 2.4.19-rc1

From: Pozsar Balazs (pozsy@uhulinux.hu)
Date: Wed Jul 03 2002 - 17:24:13 EST


actually it compiles but the 'make' fails because of depmod complaining.

attached patch will help you.

On Wed, 3 Jul 2002, Ulrich Wiederhold wrote:

> Hello,
> if I make an update-modules, I get:
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.19-rc1/kernel/drivers/scsi/sr_mod.o
>
> and if I wanna compile "NVIDIA_kernel-1.0-2880":
>
> home:/NVIDIA_kernel-1.0-2880# make
> 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/lib/modules/2.4.19-rc1/build/include -Wno-cast-qual nv.c
> 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/lib/modules/2.4.19-rc1/build/include -Wno-cast-qual os-interface.c
> os-interface.c:1207: warning: `wb_list' defined but not used
> 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/lib/modules/2.4.19-rc1/build/include -Wno-cast-qual os-registry.c
> ld -r -o Module-linux nv.o os-interface.o os-registry.o
> ld -r -o NVdriver Module-linux Module-nvkernel
> size NVdriver
> text data bss dec hex filename
> 779245 52020 52364 883629 d7bad NVdriver
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.19-rc1/kernel/drivers/scsi/sr_mod.o
> make: *** [package-install] Fehler 1
> home:/home/fzzgrr/NVIDIA_kernel-1.0-2880# update-modules
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.19-rc1/kernel/drivers/scsi/sr_mod.o
>
> I get the same error. I had no problems compiling them with 2.4.17-rc2.
> Any ideas what to do?
>
> Uli
>
> --
> 'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-- 
pozsy


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:11 EST