[ltp] Installing ThinkPadpm modules
Christopher Sawtell
linux-thinkpad@linux-thinkpad.org
Fri, 21 Jan 2005 11:43:12 +1300
On Fri, 21 Jan 2005 05:04, Henrik Brix Andersen wrote:
> On Thu, 2005-01-20 at 21:45 +1300, Christopher Sawtell wrote:
> > When I install the modules I get this message:-
> >
> > WARNING: /lib/modules/2.6.10-gentoo-r5/thinkpad/thinkpadpm.ko needs
> > unknown symbol put_cpu_ptr
> > WARNING: /lib/modules/2.6.10-gentoo-r5/thinkpad/thinkpadpm.ko needs
> > unknown symbol get_cpu_ptr
>
> Try the patch attached to this email.
Oh dear! It falls apart when I build it:-
CC [M] /root/thinkpad-5.8/2.6/drivers/thinkpadpm.o
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `apm_bios_call':
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c:208: error: cast specifies array
type
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function
`apm_bios_call_simple':
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c:264: error: cast specifies array
type
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_init':
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c:513: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:577)
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_exit':
/root/thinkpad-5.8/2.6/drivers/thinkpadpm.c:522: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:578)
make[3]: *** [/root/thinkpad-5.8/2.6/drivers/thinkpadpm.o] Error 1
make[2]: *** [_module_/root/thinkpad-5.8/2.6/drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r5'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/thinkpad-5.8/2.6/drivers'
make: *** [all] Error 2
So sorry.
--
Sincerely etc.,
Christopher Sawtell