In The Name Of God hello; I'll be thankfull if you guide me. while installing tp smapi on kernel 2.6.18-4 gives some errors: version 0.40 error: debian:~/tp_smapi-0.40# make install make -C /lib/modules/2.6.18-4-686/ build M=/root/tp_smapi-0.40 O=/lib/modules/2.6.18-4-686/build modules make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686' CC [M] /root/tp_smapi-0.40/thinkpad_ec.o /root/tp_smapi-0.40/thinkpad_ec.c: In function ‘dmi_find_substring’: /root/tp_smapi-0.40/thinkpad_ec.c:436: warning: passing argument 3 of ‘dmi_find_device’ discards qualifiers from pointer target type /root/tp_smapi-0.40/thinkpad_ec.c: In function ‘check_dmi_for_ec’: /root/tp_smapi-0.40/thinkpad_ec.c:461: error: ‘DMI_DEV_TYPE_OEM_STRING’ undeclared (first use in this function) /root/tp_smapi-0.40/thinkpad_ec.c:461: error: (Each undeclared identifier is reported only once /root/tp_smapi-0.40/thinkpad_ec.c:461: error: for each function it appears in.) make[3]: *** [/root/tp_smapi-0.40/thinkpad_ec.o] Error 1 make[2]: *** [_module_/root/tp_smapi-0.40] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686' make: *** [modules] Error 2
anda version 0.39: debian:~/tp_smapi-0.39# make install Makefile:25: *** This driver requires kernel 2.6.19 or newer, and matching kernel sources. You may need to override KVER=2.6.18-4-686 or KSRC=/lib/modules/2.6.18-4-686/source or KBUILD=/lib/modules/2.6.18-4-686/build or MOD_DIR=/lib/modules/2.6.18-4-686/kernel. Stop. There is need of tp_smapi for using APS (as hdaps driver) . regards dehqan _______________________________________________ Thinkpad mailing list [email protected] http://stderr.org/cgi-bin/mailman/listinfo/thinkpad
