From: PASCHAL,DAVID (HP-Roseville,ex1) <dav...@hp...> - 2001-06-13 02:55:32
|
Hi, Rainer. You may need to recompile your kernel in order to get the ieee12844/*.c files to compile. If you don't want to go to that trouble, then you could try the development code in CVS, which no longer depends on the kernel for parallel-port I/O. Also, make sure that you apply the patch available at http://hpoj.sourceforge.net to fix some problems with the 2.4 kernel, if you haven't done so already. David > -----Original Message----- > From: le...@t-... [mailto:le...@t-...] > Sent: Tuesday, June 12, 2001 12:45 PM > To: hpo...@li... > Subject: [hpoj-devel] Trouble compiling hpoj driver > > > 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 > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > http://lists.sourceforge.net/lists/listinfo/hpoj-devel > |