From: <le...@t-...> - 2001-06-12 19:39:48
|
Hello, I try to compile the hpoj driver but get errors (modversions.h not found ...). Kernel sources are installed. My system is: SuSE 7.2 kernel 2.4.4-4GB Is there a problem with the kernel version or what else ? Yours: Rainer Lehrig lehrig@nblehrig:~/software/hpoj-0.7 > make ptal make[1]: Entering directory `/home/lehrig/software/hpoj-0.7/ptal' make[1]: Nothing to be done for `release'. make[1]: Leaving directory `/home/lehrig/software/hpoj-0.7/ptal' ieee12844 make[1]: Entering directory `/home/lehrig/software/hpoj-0.7/ieee12844' gcc -O -I/home/lehrig/software/hpoj-0.7/include -I/home/lehrig/software/hpoj-0.7/ptal -I/usr/src/linux/include -I/usr/lib/qt/include -Wall -Wstrict-prototypes -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -c ieee12844pp.c In file included from ieee12844pp.c:44: /usr/src/linux/include/linux/module.h:21: linux/modversions.h: Datei oder Verzeichnis nicht gefunden In file included from /usr/src/linux/include/linux/module.h:261, from ieee12844pp.c:44: /usr/include/linux/version.h:2: #error "=======================================================" /usr/include/linux/version.h:3: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5: #error "" /usr/include/linux/version.h:6: #error "glibc now uses kernel header files from a well-defined" ... and so on |