Hi, The bug is caused by debian patches, not ALSA original source. See my report to Ubuntu's bug tracking system in launchpad.net. https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/832137 Regards Takashi Sakamoto (2011年08月29日 06:22), Muffinman wrote: > Hello all, > > I have some troubles compiling Alsa 1.0.24 on Voyage Linux 0.7.5 (kernel > 2.6.38). It always ends with: "error: > @CONFIG_SND_KERNELSRC@/include/linux/pci_ids.h: No such file or > directory". However, the file concerned is available in both the > directory "/usr/usr/modules/.../linux" and /lib/modules/.../linux, so I > don't understand why make fails. I've seen quite a few posts on the > internet with this problem, however, it did not provide an answer. Can > anyone tell me how to fix this? > > Here is some additional info: > > I'm running Voyage Linux 0.7.5 with kernel 2.6.38. The kernel is > compiled on a Debian Squeeze box running kernel 2.6.38.5. On both > computer gcc is version "gcc version 4.4.5 (Debian 4.4.5-8)" though not > compiled with the same options. The kernel source is available on the > Voyage box on the usual locations. > > I used the following command for configure: > # ./configure --with-build=/lib/modules/2.6.38-voyage-custom-v1.0b3/build > > The Alsa source is downloaded from: > http://www.voyage.hk/dists/0.7/alsa-driver/alsa-source_1.0.24+dfsg-0ubuntu1_all.deb > > I've copied the last part of the terminal output to the bottom of this post. > > Kind regards, Maarten > > ######################## > make -C /lib/modules/2.6.38-voyage-custom-v1.0b3/build > SUBDIRS=/usr/src/modules/alsa-driver CPP="gcc -E" CC="gcc" modules > make[1]: Entering directory `/usr/src/linux-source-2.6.38-voyage' > CC [M] /usr/src/modules/alsa-driver/acore/memalloc.o > In file included from include/linux/pci.h:58, > from /usr/src/modules/alsa-driver/acore/memalloc.inc:13, > from /usr/src/modules/alsa-driver/acore/memalloc.c:1: > /usr/src/modules/alsa-driver/include/linux/pci_ids.h:2:58: error: > @CONFIG_SND_KERNELSRC@/include/linux/pci_ids.h: No such file or directory > make[3]: *** [/usr/src/modules/alsa-driver/acore/memalloc.o] Error 1 > make[2]: *** [/usr/src/modules/alsa-driver/acore] Error 2 > make[1]: *** [_module_/usr/src/modules/alsa-driver] Error 2 > make[1]: Leaving directory `/usr/src/linux-source-2.6.38-voyage' > make: *** [compile] Error 2 > root@voyage:/usr/src/modules/alsa-driver# > ######################## ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user