Trying to compile a module: asm/linkage.h not found

I’m trying to start development of a new kernel module, and I simply can’t go pas the simple compilation of one of the examples I’ve found out there.

Basically I’m getting this:

cc -D__KERNEL__ -DMODULE -I/usr/src/linux/include -O -Wall -D__SMP__ -DSMP   -c -o jsmapperdev.o jsmapperdev.c
In file included from /usr/src/linux/include/linux/kernel.h:13:0,
                 from jsmapperdev.c:12:
/usr/src/linux/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: File or directory not found

I checked “kernel development” profile from YAST2 and installed all the suggested packages, so AFAIK I have the full source code installed under /usr/src/linux for the desktop kernel but, however, there’s no way I can compile my module, which right now is a simple skeleton.

I’ve also copied “config” file from /boot/config-etc… to /usr/src/linux/.config, and made there a “make prepare” and “make modules_prepare”, but still no luck.

I suspect I’m missing something stupid, but I really can’t find it…

Kind regards.