|
|
#1 | |
|
Registered User
Join Date: Mar 2003
Posts: 1
|
Hi all,
can someone help me out? I use a SUSE 8.0 distribution and try to compile the NVIDIA AMD64 kernel module. But unfortunatly this does not work. After getting a warning concerning himem.h the compilation stops with an error. Why? What I get is the following: ______________________________ trillian:/downloads/nvidia/AMD64/NVIDIA_kernel-1.0-4180 # make echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h 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=4180 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_X86_64 -I. -I/lib/modules/2.4.18-4GB/build/include -Wno-cast-qual nv.c cc1: Invalid option `cmodel=kernel' In file included from nv-linux.h:83, from nv.c:14: /lib/modules/2.4.18-4GB/build/include/linux/highmem.h: In function `bh_kmap': /lib/modules/2.4.18-4GB/build/include/linux/highmem.h:21: warning: pointer of type `void *' used in arithmetic nv.c: In function `nv_agp_translate_address': nv.c:2756: warning: cast from pointer to integer of different size make: *** [nv.o] Error 1 |
|
|
|
|
|
|
#2 | |
|
Registered User
|
Are you shure, that you have a AMD Opteron/Athlon 64 system?
If you use generic ia32(Athlon, Pentium) - just dounload correct drivers(ia32-41.91) and compile them |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regression with 295.33 and GeForce GT 240 | maro | NVIDIA Linux | 16 | 06-29-12 06:47 PM |
| 295.40 295 cannot be compiled on 3.2 kernel | delta32 | NVIDIA Linux | 4 | 05-27-12 09:47 PM |
| RPM Source problems | LaoTzuTao | NVIDIA Linux | 10 | 01-19-03 05:15 AM |
| Mandrake 9 and nVidia drivers | HunterA3 | NVIDIA Linux | 9 | 10-09-02 02:54 AM |
| Mandrake 8.2 Nvidia src.rpm problems | Mr_Malcontent | NVIDIA Linux | 8 | 09-11-02 09:53 PM |