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.
im having trouble installing ALSA, i extract it into a dir then i run ./configure
then i get an error
any type of help would be very much appreciated thanks
[withdraw@deadrat withdraw]$ cd alsa-driver-0.5.12a
[withdraw@deadrat alsa-driver-0.5.12a]$ ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for PCI support in kernel... no
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for debug level... none
checking for processor type... unknown
checking for SMP... no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... yes
checking for old kill_fasync... yes
checking for dma_addr_t... yes
checking for MUTEX macros... no
checking for driver version... 0.5.12a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... all
include/config.h is unchanged
include/config1.h is unchanged
include/version.h is unchanged
[withdraw@deadrat alsa-driver-0.5.12a]$ make install
make: Entering directory `/home/withdraw/alsa-driver-0.5.12a'
make: Entering directory `/home/withdraw/alsa-driver-0.5.12a/kernel'
rm -f ../include/modules/pcm_lib.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ pcm_lib.c | /sbin/genksyms -k 0.0.0 > ../include/modules/pcm_lib.ver
genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver
-d, --debug Increment the debug level (repeatable)
-D, --dump Dump expanded symbol defs (for debugging only)
-w, --warnings Enable warnings
-q, --quiet Disable warnings (default)
-h, --help Print this message
-V, --version Print the release version
--kernel ver Set the kernel version for which we are compiling
--prefix string Set a mangling prefix for all symbols
make: *** [../include/modules/pcm_lib.ver] Error 1
make: Leaving directory `/home/withdraw/alsa-driver-0.5.12a/kernel'
make: *** [dep] Error 1
make: Leaving directory `/home/withdraw/alsa-driver-0.5.12a'
make: *** [include/sndversions.h] Error 2
It seems to have gotten the wrong kerenl version, do you have the linux kernel source in /usr/src/linux?
andyou may need to configure the kernel and start to make it too for some of the headers to be created.
i dont know what kernel ver i have, i think i have the kernel source /usr/src/linux-2.4, /usr/src/linux-2.4.18-14, /usr/src/redhat (i dont know which) i dont know how to config the kernel and i dont understand the rest. i would appreciated it if u could walk me through it because im a newbie.