Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm following a howto trying to install the ALSA drivers and utilities. I was able to install the libraries without a problem, but I'm hung up on the driver portion.
I bunzip2'd and untar'd the driver file and then I ran the following command:
I got an error that said this...
checking for kernel version... The file /lib/modules/2.4.20-8/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).
So, I looked around and found version.h in /usr/include/linux, so I ran this command instead:
./configure --with-oss=yes --with-kernel=/usr
The configure script finished without any apparent errors. However, when I tried to run make, I get all KINDS of errors. Here are the first few of probably a couple hundred lines of output from make...
make: Entering directory `/alsa/alsa-driver-0.9.8/support'
make: Nothing to be done for `first_rule'.
make: Leaving directory `/alsa/alsa-driver-0.9.8/support'
make: Entering directory `/alsa/alsa-driver-0.9.8/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/alsa/alsa-driver-0.9.8/include -I/usr/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file included from /usr/include/linux/module.h:20,
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
I have no idea about any of this stuff. Could anyone make some suggestions?
actually, you probably want an rpm called kernel-source. Look for the right version; it's got to match the kernel version you are running. and then install it. Everything will be in the right place.
You can find rpms at http://www.rpmfind.net