From: Alexander Wagner (A.Wagner_at_Bigfoot.de)
Date: Tue Mar 06 2001 - 17:24:25 EST
Hi!
Did anybody manage to compile the kernel module of tpctl on
RedHat 7? I allways get errors from make like this:
--------------------------------------------------------------
[arwagner_at_Voyager tpctl_1.0]$ make all
make[1]: Entering directory `/home/arwagner/tpctl_1.0/drivers'
gcc -I/usr/src/linux/include -I../include -Wall
-Wcast-align -Wstrict-prototypes -DLINUX -O -DMODULE
-D__KERNEL__ -o thinkpad.o -c thinkpad.c
In file included from ../include/thinkpad_mod_defines.h:57,
from thinkpad.c:31:
/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 headers from an appropriate kernel-source
make[1]: *** [thinkpad.o]
Error 1
make[1]: Leaving directory
`/home/arwagner/tpctl_1.0/drivers'
make: *** [compile]
Error 1
--------------------------------------------------------------
TIA.
--CU/2 (( In the beginning was The Word. Alexander Wagner )) And The Word was Content-type: text/plain Team OS/2 Franken (( -=[ Team OS/2 Germany #294 ]=- ----------------------------------------------------------------- Please use only A.Wagner_at_TeamOS2.de or A.Wagner_at_Bigfoot.de for replies, even if some other addresses may appear. Thanks! --> Get my PGP-key with Subject: Request for PGP-Keys <--
This archive was generated by hypermail 2.1.3 : Thu Jan 23 2003 - 09:56:56 EST