[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

не могу собрать alsa - checking for directory with kernel headers... failed



Приветствую,

с помощью m-a a-i alsa пробую собрать alsa 1.0.23

при этом стоит 2.6.35.1 ядро, собранное из исходников с kernel.org
При этом /lib/modules/2.6.35.1-tuxx/source ссылается на каталог с исходниками
ядра /usr/src/linux-2.6.35.1 , в котором я так понимаю и заголовки ядра тоже есть. 

Но почему то m-a не видит эти заголовки. 

как решить проблему ? 



for i in control postinst postrm ; do \
                if [ -f debian/$i.orig ]; then \
                        mv -f debian/$i.orig debian/$i ; \
                fi ; \
        done
rm -f control-munge
make mrproper
make[1]: Entering directory `/usr/src/modules/alsa-driver'
rm -f .depend *.o snd.map*
rm -f modules/*.o modules/*.ko
make[2]: Entering directory `/usr/src/modules/alsa-driver/include'
make[2]: Leaving directory `/usr/src/modules/alsa-driver/include'
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
rm -f configure-stamp
rm -f build-stamp
/usr/bin/make -f debian/rules binary-modules
make[1]: Entering directory `/usr/src/modules/alsa-driver'
CC="gcc" ./configure --prefix=/usr --with-kernel=/lib/modules/2.6.35.1-tuxx/source --with-build=/lib/modules/2.6.35.1-tuxx/source --with-moddir=/lib/modules/2.6.35.1-tuxx/updates/a
lsa --with-sequencer=yes --with-isapnp=yes --with-cards="all"
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/modules/alsa-driver
checking cross compile...
checking for directory with ALSA kernel sources... ../alsa-kmirror
checking for directory with kernel top-level makefile... /lib/modules/2.6.35.1-tuxx/source
checking for directory with kernel headers... failed
make[1]: *** [configure-stamp] Ошибка 1
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
make: *** [kdist_image] Ошибка 2


Reply to: