Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Nvidia Kernel Compiling Under Redhat 8.0
raptoruts
post Nov 7 2002, 08:16 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 7-November 02
Member No.: 124



I'm quite newbie to linux, and just upgraded my rh 7.3 to rh 8.0 without problems...but 'coz i want to play q3a on the penguin i'm trying to install the latest nvidia drivers, without success:
I downloaded the sources for both the nvidia kernel and the GLX, but when i try to compile the kernel i get this:

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 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-14/build/include -Wno-cast-qual nv.c
In file included from nv-linux.h:27,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/kernel.h:60: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:60: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:61: `panic_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:67: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:67: `simple_strtoul_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: `simple_strtol_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: `simple_strtoull_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:71: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:71: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:72: `sprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: `vsprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:74: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:74: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:75: `snprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: `vsnprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:78: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:78: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:79: `sscanf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:80: `vsscanf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:80: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:82: `get_option_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:82: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: `get_options_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: `memparse_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:90: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:90: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:91: `printk_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:107: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:108: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: `__out_of_line_bug_R_ver_str' declared as function returning a function
In file included from /lib/modules/2.4.18-14/build/include/linux/spinlock.h:56,
from /lib/modules/2.4.18-14/build/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/asm/spinlock.h:9: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/asm/spinlock.h:9: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
In file included from /lib/modules/2.4.18-14/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.18-14/build/include/linux/list.h:6,
from /lib/modules/2.4.18-14/build/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/asm/processor.h:51: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/asm/processor.h:51: field `loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.18-14/build/include/asm/processor.h:73: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:73: parse error before numeric constant
In file included from /lib/modules/2.4.18-14/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.18-14/build/include/linux/list.h:6,
from /lib/modules/2.4.18-14/build/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/asm/processor.h:258:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.18-14/build/include/linux/modversions.h:128,
from nv-linux.h:24,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/modules/i386_ksyms.ver:88:1: warning: this is the location of the previous definition
/lib/modules/2.4.18-14/build/include/asm/processor.h:260: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: invalid suffix on floating constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: `kernel_thread_R_ver_str' declared as function returning a function
In file included from nv-linux.h:28,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/module.h:183: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:183: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:184: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:184: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/module.h:187: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:187: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:196: warning: parameter names (without types) in function declaration
In file included from /lib/modules/2.4.18-14/build/include/linux/fs.h:19,
from /lib/modules/2.4.18-14/build/include/linux/capability.h:17,
from /lib/modules/2.4.18-14/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.18-14/build/include/linux/sched.h:9,
from /lib/modules/2.4.18-14/build/include/linux/mm.h:4,
from /lib/modules/2.4.18-14/build/include/linux/slab.h:14,
from nv-linux.h:56,
from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/dcache.h: In function `dget':
/lib/modules/2.4.18-14/build/include/linux/dcache.h:249: warning: implicit declaration of function `__out_of_line_bug_R8b0fd3c5'
nv.c: In function `NV_iMSG':
nv.c:183: warning: implicit declaration of function `sprintf_R1d26aa98'
nv.c:193: warning: implicit declaration of function `vsprintf_R954cbb26'
nv.c:194: warning: implicit declaration of function `printk_R1b7d4074'
nv.c: In function `nv_agp_init':
nv.c:2831: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
nv.c:2832: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
make: *** [nv.o] Error 1


tried with all the "how to" guides on the net...no way...can someone plz tell me what's wrong with me? thanx...

My PC: Athlon Tbird 900, 256 RAM, Geforce 256 etc...

-rap
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2017 - 07:53 AM