nvidia kernel module...
Derek Atkins
warlord at MIT.EDU
Wed Apr 25 21:31:55 EDT 2001
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).
More information about the Discuss
mailing list