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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-01-02, 11:53 AM   #1
Marius
Guest
 
Posts: n/a
Question NV kernel compiling problem

Hi,
I'm running Linux 2.4.18, gcc 2.95.3 20010315 and tried to compile NVIDIA_kernel-1.0-2960 from source.
These are the last lines of the make output:

/lib/modules/2.4.18/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.18/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.18/build/include/linux/interrupt.h:45,
from nv.c:42:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv.c:42:
/lib/modules/2.4.18/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.18/build/include/linux/interrupt.h:128: requested alignment is
not a constant
make: *** [nv.o] Error 1

I've searched the web, but couldn't find anyone referring to this error message, I also tried invoking make with SYSINCLUDE=/usr/src/linux, same result.
What do I do wrong here?
Thanks in advance
Marius
  Reply With Quote
Old 09-01-02, 04:41 PM   #2
Norbert
Registered User
 
Join Date: Aug 2002
Posts: 4
Send a message via AIM to Norbert
Default

make sure this file exists
/lib/modules/2.4.18/build/include/linux/irq.h

--Norbert
Norbert is offline   Reply With Quote
Old 09-02-02, 10:49 AM   #3
Marius
Guest
 
Posts: n/a
Default

Thanks for your reply Norbert!
It did not exist, so I copied the one from /usr/include/linux/ to /lib/modules/2.4.18/build/include/linux/, but it still doesn't work
Any other ideas?
Thanks
Marius
  Reply With Quote
Old 09-02-02, 05:53 PM   #4
utiel
Registered User
 
Join Date: Aug 2002
Location: mallorca
Posts: 65
Default NV kernel compiling...

Have you compiled 2.4.18 kernel?

Kernel has to be configured for compiling NV kernel from source. ( if you do make distclean, make mrproper, you have to configure it again )

Check this two links
/usr/include/asm -> /usr/src/linux/include/asm
/usr/include/linux ->/usr/src/linux/include/linux

and then, compile NVkernel again
utiel is offline   Reply With Quote
Old 09-04-02, 02:25 PM   #5
Marius
Guest
 
Posts: n/a
Default

Thanks utiel, the two links where missing.
Had to install which and mktemp after that and the NVkernel installed fine
Marius
  Reply With Quote
Reply


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
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 08:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 09:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 09:14 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM

All times are GMT -5. The time now is 08:05 AM.


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