Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 03-02-03, 07:17 PM   #1
Registered User
Join Date: Mar 2003
Posts: 1
Question 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
zerowork is offline   Reply With Quote
Old 03-03-03, 05:13 AM   #2
Registered User
azazello's Avatar
Join Date: Dec 2002
Location: Kiev, UA
Posts: 10
Send a message via ICQ to azazello

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
azazello is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -5. The time now is 02:24 PM.

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