[ltp] thinkpad modules for Linux 2.6 -- trial version available
Andreas Kotowicz
linux-thinkpad@linux-thinkpad.org
Wed, 24 Dec 2003 10:58:45 +0100
Hi Thomas,
On Tue, 2003-12-23 at 20:43, Thomas Hood wrote:
> OK, here is a first trial version of thinkpad 5.0. To get it,
> go to http://sourceforge.net/projects/tpctl/ and download
> thinkpad_4.999-trial1.tar.gz and then follow the appropriate
> set of instructions below.
>
> Please report bugs to me or to this list.
I just grabbed the package and wanted to compile it. this is what I get:
make -C drivers
make[1]: Entering directory `/tmp/thinkpad-5.0/2.6/drivers'
make -C /lib/modules/2.6.0-mm1/build
SUBDIRS=/tmp/thinkpad-5.0/2.6/drivers modules
make[2]: Entering directory `/usr/src/linux-2.6.0-mm1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /tmp/thinkpad-5.0/2.6/drivers/thinkpad.o
CC [M] /tmp/thinkpad-5.0/2.6/drivers/smapi_core.o
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:90: parse error before
"_devfs_handleSmapi"
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:90: warning: type defaults to
`int' in declaration of `_devfs_handleSmapi'
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:90: warning: data definition
has no type or storage class
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c: In function `smapi_init':
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:385: warning: implicit
declaration of function `devfs_register'
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:388: `DEVFS_FL_DEFAULT'
undeclared (first use in this function)
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:388: (Each undeclared
identifier is reported only once
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:388: for each function it
appears in.)
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:388: `DEVFS_FL_AUTO_DEVNUM'
undeclared (first use in this function)
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:394: warning: comparison
between pointer and integer
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c: In function `smapi_exit':
/tmp/thinkpad-5.0/2.6/drivers/smapi_core.c:413: warning: implicit
declaration of function `devfs_unregister'
make[3]: *** [/tmp/thinkpad-5.0/2.6/drivers/smapi_core.o] Error 1
make[2]: *** [/tmp/thinkpad-5.0/2.6/drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.0-mm1'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/thinkpad-5.0/2.6/drivers'
make: *** [all] Error 2
I'm using kernel 2.6.0-mm1 but this shouldn't make any difference.
regards,
andreas