The linux-source-... has a module which is disabled in the config /boot/config-3.4-trunk-686-pae so that it is not part of linux-image-... (This is on Debian, but the solution should be the same for Ubuntu, or?), e.g.
# CONFIG_CAN_PEAK_USB is not set
How would one compile just that kernel module, so that it can be used with the distributed kernel?
The respective linux-source-... package is already installed, uncompressed and linked to /usr/src/linux. /boot/config-3.4-trunk-686-pae is copied to /usr/src/linux/.config and modified with
it is possible to compile the kernel and all modules. But how would one compile only that specific single module?
(Note: also the kernel needs to be compiled before, otherwise you get the following error:
no symbol version for module_layout)