On 2009-07-10 02:50:45 +0200, Vincent Lefevre wrote: > According to the INSTALL file of alsa-driver-linuxant (which one > doesn't see when using cnxtinstall.run), one needs "full configured > source". This is not sufficient. As the log said: ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. I've done the following: # apt-get install linux-source-2.6.30 $ cd /usr/src $ atool -eqx linux-source-2.6.30.tar.bz2 $ cd linux-source-2.6.30 $ make oldconfig && make prepare But cnxtinstall.run still fails because it runs the command "make -C /lib/modules/2.6.30-1-amd64/source ...", whereas /lib/modules/2.6.30-1-amd64/source is a symbolic link to /usr/src/linux-headers-2.6.30-1-common, which is *not* the source of the kernel! The INSTALL file of alsa-driver-linuxant says: * Kernel Source Tree On 2.4/2.6 kernels, the location of the kernel source tree is parsed automatilly from the running kernel. If it's not in the standard place, specify the path via --with-kernel=<kernel_directory>. On 2.6 kernels, the build directory has to be given via --with-build=<kernel_build_dir> option additionally, too. But even if I provide these options, I get an error: # cd /usr/lib/alsa-driver-linuxant # ./configure --with-kernel=/usr/src/linux-source-2.6.30 --with-build=/usr/src/linux-kbuild-2.6.30 # make make dep make[1]: Entering directory `/usr/lib/alsa-driver-linuxant' #@for d in acore i2c drivers isa synth pci aoa soc usb pcmcia misc; do if ! make -C $d prepare; then exit 1; fi; done make[1]: Leaving directory `/usr/lib/alsa-driver-linuxant' make -C /usr/src/linux-source-2.6.30 SUBDIRS=/usr/lib/alsa-driver-linuxant CPP="gcc -E" CC="gcc" modules make[1]: Entering directory `/usr/src/linux-source-2.6.30' WARNING: Symbol version dump /usr/src/linux-source-2.6.30/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /usr/lib/alsa-driver-linuxant/acore/hrtimer.o CC [M] /usr/lib/alsa-driver-linuxant/acore/hwdep.o /bin/sh: scripts/genksyms/genksyms: No such file or directory make[3]: *** [/usr/lib/alsa-driver-linuxant/acore/hwdep.o] Error 1 make[2]: *** [/usr/lib/alsa-driver-linuxant/acore] Error 2 make[1]: *** [_module_/usr/lib/alsa-driver-linuxant] Error 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.30' make: *** [compile] Error 2 There's a problem here: scripts/genksyms/genksyms is in /usr/src/linux-kbuild-2.6.30 as expected. I don't know what is the right fix, but if I modify Makefile.conf to have a GENKSYMS line here ifdef NEW_KBUILD CC = $(CROSS_COMPILE)gcc CPP = $(CROSS_COMPILE)gcc -E GENKSYMS = /usr/src/linux-kbuild-2.6.30/scripts/genksyms/genksyms this problem is solved. But I get the following error: [...] CC [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/usx2yhwdeppcm.o LD [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/snd-usb-usx2y.o LD [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/snd-usb-us122l.o Building modules, stage 2. MODPOST 130 modules /bin/sh: scripts/mod/modpost: No such file or directory Again, this script is in /usr/src/linux-kbuild-2.6.30 (build directory). But I don't know what to do here. -- Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)