Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nvidia kernel module...



Yes, kernel headers are now stored under /lib/modules/<version>/build/...

You should compile your kernel module against that set of headers.

-derek

"Frank J.Ramsay" <fjr at marsdome.myip.org> writes:

> I just installed RH 7.1 on my game machine, (big improvement from 7.0 btw) 
> Now I'm trying to build the GForce drivers that NVidia produces but when I run
> make I get this error:
> 
> /usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source
> 
> I looked at the header file and those two #error lines are all it contains, and the module
> appears to be intentionally calling it.  Has this file changed for the 2.4.x kernels?  
> Because on my server (running 2.2.17) modversions.h is a very different file.
> 
> I do remember reading somewhere that RH 7.0 needed kgcc to compile the 
> kernel & kernel modules, but I don't see an RPM for this on the RH 7.1 cds so
> I'm assuming it's not needed any longer.
> 
> 				-fjr
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org