Hi Martin, On Fri, Jan 04, 2013 at 12:25:12PM +0100, Martin Steigerwald wrote:
> /usr/bin/make modules KSRC=/usr/src/linux-headers-3.7-trunk-686-pae > KVER=3.7-trunk-686-pae HDAPS=1 > make[2]: Entering directory `/usr/src/modules/tp-smapi' > /usr/bin/make -C /usr/src/linux-headers-3.7-trunk-686-pae > M=/usr/src/modules/tp-smapi O=/usr/src/linux-headers-3.7-trunk-686-pae modules > make[3]: Entering directory `/usr/src/linux-headers-3.7-trunk-686-pae' > CC [M] /usr/src/modules/tp-smapi/thinkpad_ec.o > In file included from > /usr/src/linux-headers-3.7-trunk-common/include/uapi/linux/types.h:4:0, > from > /usr/src/linux-headers-3.7-trunk-common/include/linux/types.h:5, > from > /usr/src/linux-headers-3.7-trunk-common/include/linux/kernel.h:8, > from /usr/src/modules/tp-smapi/thinkpad_ec.c:32: > /usr/src/linux-headers-3.7-trunk-common/arch/x86/include/asm/types.h:4:31: > fatal error: asm-generic/types.h: No such file or directory > compilation terminated. > make[6]: *** [/usr/src/modules/tp-smapi/thinkpad_ec.o] Error 1 > make[5]: *** [_module_/usr/src/modules/tp-smapi] Error 2 > make[4]: *** [sub-make] Error 2 > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/usr/src/linux-headers-3.7-trunk-686-pae' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/usr/src/modules/tp-smapi' > make[1]: *** [binary-modules] Error 2 > make[1]: Leaving directory `/usr/src/modules/tp-smapi' > make: *** [kdist_build] Error 2 This part is obviously http://bugs.debian.org/696664. As the package actually builds fine when the kernel headers are fixed, I do not see a real bug in tp-smapi here, but would like you to check first. Can you get the linux source for 3.7.1 and copy include/uapi/asm-generic to /usr/src/linux-headers-3.7-trunk-common/include/uapi/asm-generic. If the compile works then, everything is fine. If not, I will have to figure what m-a does different to dkms here (as it works with dkms with the mentioned workaround). Greets Evgeni PS: am I mistaken or have I seen your name on irc somewhere? -- Bruce Schneier can read and understand Perl programs. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

