directory with kernel sources?
Hey,
I've downloaded a newer alsadriver version (tarballs) and was trying to install them now, but ./configure stops halfway as apparently the needed kernel sources can't be found. Is there a way to find out if these sources are in a different directory than the one ./configure tried to look for them? If not, what is that package that I would need to install? Any advice or help is greatly appreciated..!! My distribution is Mandriva 2007.0, and this is what I did: [irkku@localhost alsa-driver-1.0.14rc4]$ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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... /home/irene/alsa-driver-1.0.14rc4 checking cross compile... checking for directory with kernel source... /usr/src/linux checking for directory with kernel build... checking for kernel linux/version.h... no The file /usr/src/linux/include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). |
Like it says, by default they install under /usr/src/. I'm not familiar with Mandrake naming scheme, but the package you're looking for is something like linux-version.src.rpm or kernel-version.src.rpm or kernel-sources-version.rpm or equivalent. Should be easy to find, check rpm.pbone.net for example. Note that the version must match your running kernel exactly.
|
All times are GMT -5. The time now is 04:21 PM. |