[ltp] Error compiling tpctl

Karl Ebener linux-thinkpad@linux-thinkpad.org
Wed, 29 Dec 2004 12:33:47 +0100 (MET)


Hi!

I am using Debian Sid on an IBM Thinkpad R50.
I want to compile a kernel 2.6.10 and tpctl as module. I have all the
required debian-packages installed (as far as I can see).

But when I compile the kernel, while compiling tpctl, I get the following
error messages:

make[3]: Entering directory `/usr/src/modules/thinkpad/2.6/drivers'
/usr/bin/make -C /usr/src/linux
SUBDIRS=/usr/src/modules/thinkpad/2.6/drivers modules
make[4]: Entering directory `/usr/src/linux-2.6.10'
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/thinkpad.o
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c: In Funktion
»thinkpad_ioctl«:
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:241: Warnung:
`inter_module_put' is deprecated (declared at include/linux/module.h:582)
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:256: Warnung:
`inter_module_put' is deprecated (declared at include/linux/module.h:582)
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:271: Warnung:
`inter_module_put' is deprecated (declared at include/linux/module.h:582)
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:286: Warnung:
`inter_module_put' is deprecated (declared at include/linux/module.h:582)
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/smapi_core.o
/usr/src/modules/thinkpad/2.6/drivers/smapi_core.c: In Funktion
»smapi_init«:
/usr/src/modules/thinkpad/2.6/drivers/smapi_core.c:301: Warnung:
`inter_module_register' is deprecated (declared at
include/linux/module.h:577)
/usr/src/modules/thinkpad/2.6/drivers/smapi_core.c: In Funktion
»smapi_exit«:
/usr/src/modules/thinkpad/2.6/drivers/smapi_core.c:310: Warnung:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:578)
  LD [M]  /usr/src/modules/thinkpad/2.6/drivers/smapi.o
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/superio.o
/usr/src/modules/thinkpad/2.6/drivers/superio.c: In Funktion »superio_init«:
/usr/src/modules/thinkpad/2.6/drivers/superio.c:890: Warnung:
`inter_module_register' is deprecated (declared at
include/linux/module.h:577)
/usr/src/modules/thinkpad/2.6/drivers/superio.c: In Funktion »superio_exit«:
/usr/src/modules/thinkpad/2.6/drivers/superio.c:899: Warnung:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:578)
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/rtcmosram.o
/usr/src/modules/thinkpad/2.6/drivers/rtcmosram.c: In Funktion
»rtcmosram_init«:
/usr/src/modules/thinkpad/2.6/drivers/rtcmosram.c:229: Warnung:
`inter_module_register' is deprecated (declared at
include/linux/module.h:577)
/usr/src/modules/thinkpad/2.6/drivers/rtcmosram.c: In Funktion
»rtcmosram_exit«:
/usr/src/modules/thinkpad/2.6/drivers/rtcmosram.c:238: Warnung:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:578)
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.o
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c: In Funktion
»apm_bios_call«:
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:210: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:211: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:234: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c: In Funktion
»apm_bios_call_simple«:
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:268: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:269: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:296: error: subscripted
value is neither array nor pointer
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c: In Funktion
»thinkpadpm_init«:
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:516: Warnung:
`inter_module_register' is deprecated (declared at
include/linux/module.h:577)
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c: In Funktion
»thinkpadpm_exit«:
/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.c:525: Warnung:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:578)
make[5]: *** [/usr/src/modules/thinkpad/2.6/drivers/thinkpadpm.o] Fehler 1
make[4]: *** [_module_/usr/src/modules/thinkpad/2.6/drivers] Fehler 2
make[4]: Leaving directory `/usr/src/linux-2.6.10'
make[3]: *** [default] Fehler 2
make[3]: Leaving directory `/usr/src/modules/thinkpad/2.6/drivers'
make[2]: *** [build-modules] Fehler 2


What is wrong? Do I need to download tpctl source directly from sourceforge?


Tnx!
 Karl

-- 
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben