View Single Post
Old 12-11-03, 08:08 AM   #3
cyber Fry
Registered User
 
Join Date: Dec 2003
Posts: 4
Default

ok, i tried it:

make
make -C nvnet
make[1]: Wechsel in das Verzeichnis Verzeichnis »/home/xxx/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.20-20.9/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/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from nvnet.h:23,
from nvnet.c:21:
[...]
vnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1268: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1271: dereferencing pointer to incomplete type
nvnet.c:1274: warning: implicit declaration of function `unregister_netdev'
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_init_module':
nvnet.c:1297: warning: implicit declaration of function `pci_module_init'
nvnet.c: In function `nvnet_cleanup_module':
nvnet.c:1303: warning: implicit declaration of function `pci_unregister_driver'
nvnet.c: In function `nvnet_suspend':
nvnet.c:1322: warning: implicit declaration of function `pci_get_drvdata'
nvnet.c:1323: dereferencing pointer to incomplete type
nvnet.c:1325: warning: implicit declaration of function `netif_running'
nvnet.c:1331: warning: implicit declaration of function `netif_device_detach'
nvnet.c: In function `nvnet_resume':
nvnet.c:1347: dereferencing pointer to incomplete type
nvnet.c:1350: dereferencing pointer to incomplete type
nvnet.c:1355: warning: implicit declaration of function `netif_device_attach'
nvnet.c: At top level:
nvnet.c:99: storage size of `nvnet_driver' isn't known
make[1]: *** [nvnet.o] Fehler 1
make: *** [nvnet_make] Fehler 2

wow

Fry
cyber Fry is offline   Reply With Quote