Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi! I just installed Linux, and am currently trying to install ALSA to get my sound working. But everytime I try running the configure, I get the follow at my last few lines:
checking for directory with kernel source... /lib/modules/2.4.20-18.9/build
checking for kernel version... The file /lib/modules/2.4.20-18.9/build/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).
It seems that it is able to find where the kernal is, but I don't understand what it means by me having to "install the package with full kernal sources for your distribution". I even tried installing the Kernal Development package, and it still doesn't work. Can someone help?
You need to have a copy of your kernel source code in /usr/src/ so that the alsa compilation stage can pull some includes out of it.
In your case you need the kernel source 2.4.20-18.9,
am I right in guessing this is the kernel that came stock with your distro? (eg, redhat, mandrake, gentoo, etc...) if so, you should be able to install the kernel source as a package from one of the cds.
The kernal that came with my linux cd is 2.4.20-8, and then I updated it to 2.4.20-18.9. Included in the Kernal Development package would be the source to 2.4.20-8, so should I upgrade the source to 2.4.20-18.9 as well?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.