nvidia nforce2 driver

Neal D. Becker nbecker at hns.com
Wed Jan 14 18:09:21 UTC 2004


I grabbed the srpm and tried to build NVIDIA_nforce-1.0-0261.src.rpm. My
current kernel is 2.4.22-1.2129.nptl.  Here's what happens:
make -C  nvnet
make[1]: Entering directory `/home/nbecker/RPM/BUILD/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O
-Wstrict-prototypes -DCONFIG_PM  -fno-strict-aliasing
-mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE
-I/lib/modules/2.4.22-1.2129.nptl/build/include   nvnet.c
In file included from /usr/include/linux/module.h:20,
                 from nvnet.h:20,
                 from nvnet.c:21:
/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 rather headers from an
appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include
(or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
-r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the
currently-running kernel.
In file included from /usr/include/linux/sched.h:14,
                 from nvnet.h:23,
                 from nvnet.c:21:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
                 from /usr/include/linux/sched.h:14,
[...]

Any hints?





More information about the fedora-list mailing list