mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* nvidia driver won't compile with 2.4.19-rc1
@ 2002-07-03 21:47 Ulrich Wiederhold
  2002-07-03 22:24 ` Pozsar Balazs
  2002-07-04  2:24 ` J Sloan
  0 siblings, 2 replies; 4+ messages in thread
From: Ulrich Wiederhold @ 2002-07-03 21:47 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nvidia driver won't compile with 2.4.19-rc1
  2002-07-03 21:47 nvidia driver won't compile with 2.4.19-rc1 Ulrich Wiederhold
@ 2002-07-03 22:24 ` Pozsar Balazs
  2002-07-03 22:43   ` Ulrich Wiederhold
  2002-07-04  2:24 ` J Sloan
  1 sibling, 1 reply; 4+ messages in thread
From: Pozsar Balazs @ 2002-07-03 22:24 UTC (permalink / raw)
  To: Ulrich Wiederhold; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2816 bytes --]


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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 430 bytes --]

--- NVIDIA_kernel-1.0-2960/Makefile.orig	Tue May 14 15:26:15 2002
+++ NVIDIA_kernel-1.0-2960/Makefile	Wed Jul  3 23:27:59 2002
@@ -85,7 +85,7 @@
 		fi && \
 		mkdir -p $(INSTALLDIR) && \
 		$(INSTALL) -m 0664 -o root -g root NVdriver $(INSTALLDIR)/NVdriver$(O) && \
-		/sbin/depmod -a && \
+		/sbin/depmod -aq && \
 		/sbin/modprobe NVdriver && \
 		sh makedevices.sh && \
 		echo "NVdriver installed successfully."; \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nvidia driver won't compile with 2.4.19-rc1
  2002-07-03 22:24 ` Pozsar Balazs
@ 2002-07-03 22:43   ` Ulrich Wiederhold
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Wiederhold @ 2002-07-03 22:43 UTC (permalink / raw)
  To: linux-kernel

* Pozsar Balazs <pozsy@uhulinux.hu> [020704 00:24]:
> 
> actually it compiles but the 'make' fails because of depmod complaining.
> 
> attached patch will help you.

Works, thanks.
I turned off the "Set version information on all module symbols" part.

Uli

-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nvidia driver won't compile with 2.4.19-rc1
  2002-07-03 21:47 nvidia driver won't compile with 2.4.19-rc1 Ulrich Wiederhold
  2002-07-03 22:24 ` Pozsar Balazs
@ 2002-07-04  2:24 ` J Sloan
  1 sibling, 0 replies; 4+ messages in thread
From: J Sloan @ 2002-07-04  2:24 UTC (permalink / raw)
  To: Ulrich Wiederhold, linux-kernel

You are using an old nvidia driver -

1.0-2960 compiles and works fine here.

Joe

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
>
>  
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-04  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03 21:47 nvidia driver won't compile with 2.4.19-rc1 Ulrich Wiederhold
2002-07-03 22:24 ` Pozsar Balazs
2002-07-03 22:43   ` Ulrich Wiederhold
2002-07-04  2:24 ` J Sloan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®