Lainaus Rogério Brito <rbrito@ime.usp.br>:
The compilation script/makefile that came with your module is looking for the kernel headers where /lib/modules/<version>/build is telling.
That's just it. I looked at a couple of other Linux machines (i386), and they had the /lib/modules/<version>/build directory (link), as well as /lib/modules/<version>/kernel. Unfortunately, my iBook (Debian 5.0.4) does not have these directories, and it does not even have the correct /usr/src/<version> directory, which would be needed for building any modules. The latter directory is normally a fully populated tree of source code, not a single .bz2 file. Uncompressing and untarring the .bz2 file that I have now in /usr/src won't help either, because the version is not correct.
As noted earlier, I could not locate the kernel sources for 2.6.26-2-powerpc (*my* kernel); at least with apt-get I couldn't.
Anyway, are you really sure that you wouldn't like to use a newer kernel? The 2.6.26. kernels are way, way too old.
First, I would like to find out what is wrong with my current setup. I didn't even have 'make' to start with.