compiling nvnet driver
trying to compile the nvnet module, i get this error:
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/usr/src/linux-2.4.21/include nvnet.c
In file included from nvnet.h:20,
/usr/include/linux/module.h:21:34: linux/modversions.h: No such file or directory
make: *** [nvnet.o] Error 1
using Debian Unstable
Kernel 2.4.21-k7-1 debian image
gcc (GCC) 3.3.1 20030626 (Debian prerelease)
Mother Board: a7vnx-x
cpu : amd 2000+
how can I fix this?
Do you have kernel sources/kernel headers installed?
I also got this error when I tried compiling the driver without having compiled my kernel. After doing that, and rebooting the driver compile worked fine.
|All times are GMT -5. The time now is 04:57 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.