nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   AMD64 NVIDIA_kernel-1.0-4180 :: compile error (http://www.nvnews.net/vbulletin/showthread.php?t=8171)

zerowork 03-02-03 07:17 PM

AMD64 NVIDIA_kernel-1.0-4180 :: compile error
 
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

azazello 03-03-03 05:13 AM

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


All times are GMT -5. The time now is 03:28 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.