[ltp] thinkpad drivers and tpctl

Thomas Hood linux-thinkpad@www.bm-soft.com
19 Apr 2002 20:15:15 -0400


> > 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)

Which distro are you using?  The apm_info structure is
defined in kernsrc/include/linux/apm_bios.h and on 
standard kernel does have a member called 'allow_ints'.
Apparently something is different about the kernel
headers you are using.  Are you sure you are compiling
against linux 2.4 kernel headers?

--
Thomas Hood




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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