[ltp] Help compiling ibm-acpi

Jon Dowland linux-thinkpad@linux-thinkpad.org
Mon, 3 Oct 2005 11:02:33 +0100


On Sat, Oct 01, 2005 at 04:27:50PM +0200, Jaime Iniesta wrote:
> jaime@zimpa:~/sources/ibm-acpi/ibm-acpi-0.11$ sudo make
> make -C /lib/modules/2.6.10-5-386/build
> SUBDIRS=/home/jaime/sources/ibm-acpi/ibm-acpi-0.11 modules
> make: *** /lib/modules/2.6.10-5-386/build: No existe el fichero o el
> directorio. Alto.
> make: *** [default] Error 2

I don't think it's a good idea to use sudo to invoke make for the build.

> That is, it says that the /lib/modules/2.6.10-5-386/build folder doesn't
> exist. It doesn't exist, indeed. I do have a /lib/modules/2.6.10-5-386
> folder but no "build" folder inside.

/lib/modules/2.x.y/build is a symlink which points at
/usr/src/kernel-source-2.x.y. Strangely, dpkg reports that it belongs to
the kernel-image-2.x.y package, so I'd expect you to have it too.

Anyway, you'd need /usr/src/kernel-source-2.x.y.  Do you have the
kernel-source package installed which corresponds to your running
kernel?

(where x.y are your kernel major and minor version numbers,
respectively)

-- 
Jon Dowland
http://jon.dowland.name/