On Mon, 11 Jan 2010 20:10:49 +0100 Elimar Riesebieter <riese...@lxtec.de> wrote:
> What do have distributors like we are to do that modules do compile > a distributed header? A build against a vanilla one suceeded! > (2.6.*) Alsa drivers intention is to build against _every_ 2.6 > series kernel. I know much installations running a 2.6.11 or > 2.6.5...... And there are no bugs like "none headers found" in the > alsa BTS. Think, there are thousands of users which compile their > own alsa-drivers and no one complained about a failure like the > Debian ones. So what is wrong here? If they compiled the upstream alsa drivers they probably used an upstream kernel too. People who tried to compile against a Debian kernel would be more likely to use the debian alsa source package, so they complained in the Debian BTS instead. > > It looks > > as if you need to replace some of the upstream configure checks with > > Debian-specific ones. kmod.h is supplied by a Debian package, but the > > configure script can't find it: > > No, the build against a vanilla compiled kernel is absolutely clean > and suceeded. You have to tell m-a where the headers are. > > > ~ $ dpkg -S kmod.h > > linux-headers-2.6.32-trunk-common: > > /usr/src/linux-headers-2.6.32-trunk-common/include/linux/kmod.h > > I see. m-a needs to know where to look for. I'll install the headers > and try it again. m-a should be able to find the headers automatically. It certainly knows all about the headers-*-common and headers-*-arch packages because it downloads them if they aren't already installed. I think the problem is because the alsa package finds the headers in some way of its own (I'm not used to module packages having configure scripts) that isn't compliant with debian kernels, but I can't find docs about how you're supposed to prepare kernel module debs. I checked /lib/modules/... and found these links, HTH: ~ $ ls -l /lib/modules/2.6.32-trunk-amd64/ total 2220 lrwxrwxrwx 1 root root 41 Jan 11 18:42 build -> /usr/src/linux-headers-2.6.32-trunk-amd64 lrwxrwxrwx 1 root root 41 Jan 8 17:59 build.save -> /usr/src/linux-headers-2.6.32-trunk-amd64 ... lrwxrwxrwx 1 root root 42 Jan 5 19:56 source -> /usr/src/linux-headers-2.6.32-trunk-common -- TH * http://www.realh.co.uk -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org