Comment 3 for bug 1069432

Revision history for this message
Elliot (elliot-wolk) wrote : Re: tp-smapi-dkms 0.41-1: tp-smapi kernel module failed to build

same on 12.10.

installing with m-a from tp-smapi-source fails.

new to kernel 3.7, module-assistant says:
Bad luck, the kernel headers for the target kernel version could
                       │ not be found and you did not specify other valid
                       │ kernel headers to use.
                       │ However, you can install the header files for your kernel which
                       │ are provided by the linux-headers-3.7.0-4-generic package. For
                       │ most modules packages, these files are perfectly sufficient
                       │ without having the original kernel source.

this is from 'm-a a-i tp-smapi -f'. of course, linux-headers-3.7.0-4-generic is, in fact, installed.
the same precise setup succeeds on 3.6.3.

running make on the source in tp-smapi-source produces this error:
wolke:/usr/src/modules/tp-smapi$ sudo make
make -C /usr/src/modules/tp-smapi M=/usr/src/modules/tp-smapi O=/usr/src/modules/tp-smapi modules
make[1]: Entering directory `/usr/src/modules/tp-smapi'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/modules/tp-smapi'
make: *** [modules] Error 2