I tried to follow the instructions in /usr/share/doc/nvidia/ nvidia-gfx-AMD64-HOWTO.txt but in phase 4 when compiling the patched kernel modules I get the following compiler error: 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 -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4499 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_X86_64 -mno-red-zone -DREMAP_PAGE_RANGE_4 -I. -I/lib/modules/2.4.21-166-athlon/build/include -Wno-cast-qual nv.c cc1: error: code model `kernel' not supported in the 32 bit mode make: *** [nv.o] Error 1 options missing, wrong compiler, if the latter where do i get an AMD64 version of GCC - should I bootstrap ? any pointers welcome Juergen
Juergen Schiewe <juergen.schiewe@epost.de> writes:
I tried to follow the instructions in /usr/share/doc/nvidia/ nvidia-gfx-AMD64-HOWTO.txt but in phase 4 when compiling the patched kernel modules I get the following compiler error:
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 -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4499 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_X86_64 -mno-red-zone -DREMAP_PAGE_RANGE_4 -I. -I/lib/modules/2.4.21-166-athlon/build/include
This does not look right. You're running a 32-bit kernel!
-Wno-cast-qual nv.c cc1: error: code model `kernel' not supported in the 32 bit mode make: *** [nv.o] Error 1
options missing, wrong compiler, if the latter where do i get an AMD64 version of GCC - should I bootstrap ?
You need the 64-bit SUSE Linux 9.0, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (2)
-
Andreas Jaeger
-
Juergen Schiewe