[ltp] [T40]Can't compile ibm-acpi on Slackware

Javier (a.k.a AlBundy) linux-thinkpad@linux-thinkpad.org
Wed, 5 Oct 2005 19:04:41 +0200


On 10/5/05, Rainarrow <rainarrow@gmail.com> wrote:
> Well, is it really impossible for a 2.4.x kernel to support IBM-ACPI? Is
> that the reason why I keep getting the compilation error message?

I have a T23 with Slack10.0 and a 2.4.x kernel, but i haven=B4t used IBM
ACPI never, I eventually use basic ACPI (thermal).

I think that bareacpi 2.4.31 kernel in Slack includes ACPI (you can
check first lines of
                   % dmesg
and search "ACPI" string).



Inside Makeffile of ibm-acpi-0.11.tar.gz, you have this line:
=09$(MAKE) -C $(KDIR) SUBDIRS=3D$(PWD) modules
that is converted to:
         make -C /lib/modules/2.4.31/build SUBDIRS=3D/root/ibm-acpi-0.11 mo=
dules

=BFDo you have /lib/modules/2.4.31/build and  /lib/modules/2.4.31/acpi/?

Your error line is : "No rule to make target `modules'.  Stop"
The "-C mydir" means "Change to directory mydir before reading the makefile=
s".

=BFDo you have a file/dir named "modules" into /lib/modules/2.4.31/build?