[ltp] thinkpad drivers and tpctl

Tod Harter linux-thinkpad@www.bm-soft.com
Thu, 18 Apr 2002 08:53:27 -0400


On Tuesday 16 April 2002 17:50, you wrote:
> My kernel version is 2.4.5

I'm pretty sure that newer tpctl require kernel version greater than 2.4.14 
or so. I KNOW that 2.4.8 is not new enough because I had the same problem you 
did. Either you have to upgrade the kernel or downgrade to older tpctl. 

> When I try to compile thinkpad 3.0 3.1 or 3.2:
>
> implicit declaration of function 'snprintf':
>     In function 'thinkpad_read_proc' (thinkpad.c : 141)
>     In function 'smapi_read_proc' (smapi_core.c : 163)
>     In function 'superio_read_proc' (superio.c : 674)
>     In function 'rtcmosram_read_proc' (rtcmosram.c : 139)
>     In function 'thinkpadpm_read_proc' (thinkpadpm.c : 321)
>
> indirect lcall without '*' (smapi_call.s : 50)
>
> structure has no member named 'allow_ints':
>     In function 'apm_bios_call' (thinkpadpm.c : 196)
>     In function 'apm_bios_call_simple' (thinkpadpm.c : 240)
>
> make [1] : *** [thinkpadpm.o] Error 1
> make [1] : Leaving directory '/usr/local/......'
> make : *** [all] Error 2
>
> can you help me ?
>
>
>
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html