nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   compiling nvnet driver (http://www.nvnews.net/vbulletin/showthread.php?t=14743)

ervalerio 07-13-03 08:12 AM

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,
from nvnet.c:21:
/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?

connyosis 07-13-03 03:14 PM

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 11:44 PM.

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