blik Posted April 29, 2004 Share Posted April 29, 2004 Now all ive gotta get right is the sound! Fedora found my soundcard by default, but I is only putting sound out through 2 chanels (I have 6). I have an onboard VIA8235 chip. I have downloaded the most current ALSA drivers, when i try to compile them I get the following output: checking for gcc... gccchecking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes 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 ANSI C header files... yes checking for gcc option to accept ANSI C... none needed 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... /root/ac/alsa-test-0.9.4 checking cross compile... checking for directory with kernel source... /lib/modules/2.4.22-1.2115.nptl/build checking for kernel version... The file /lib/modules/2.4.22-1.2115.nptl/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). What can I do to get this sorted out? Thanks Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 30, 2004 Veteran Share Posted April 30, 2004 checking for kernel version... The file /lib/modules/2.4.22-1.2115.nptl/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). Sounds like you don't have your kernel sources installed (so it can compile your sound into it). Or, it isn't in /usr/src/linux Fidn out if you have your source installed, first. Link to comment Share on other sites More sharing options...
kjordan2001 Posted April 30, 2004 Share Posted April 30, 2004 Yeah, if your kernel source isn't installed, install it off your Fedora CDs. Or you could compile a newer kernel if you felt like that. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 30, 2004 Veteran Share Posted April 30, 2004 Didn't you upgrade your kernel recently? yum should have grabbed the new kernel sources.... :unsure: Maybe it won't if you never installed the sources to begin with.... Link to comment Share on other sites More sharing options...
threetonesun Posted April 30, 2004 Share Posted April 30, 2004 ALSA makes me cry ... honestly, for all the times I tried to get it to work, I got different results every time. In Redhat, the only way I could get it to reliablly install was through synaptic, and in Mandrake I would occasionally get no sound at boot. But I digress, while I'm all up for compiling and installing on Linux, synatpic and the like helped a ton on this one. Link to comment Share on other sites More sharing options...
shimon Posted April 30, 2004 Share Posted April 30, 2004 i am have a prob with too i need to reboot to hear sound every time because if logout/lock screen or let the screensaver go on then it doesnt work *sometimes* Link to comment Share on other sites More sharing options...
blik Posted April 30, 2004 Author Share Posted April 30, 2004 I have now downloaded the source for my kernel, the extension is .src.rpm where do I place this file, or what must I do with it? Thanks Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 30, 2004 Veteran Share Posted April 30, 2004 The RPM has a preset place to put them (I would assume that it will be correct). Is it the source for your current kernel version? Link to comment Share on other sites More sharing options...
blik Posted April 30, 2004 Author Share Posted April 30, 2004 Yes its the source for the current kernal version. I dont know what to do, i have tried rpm - i kernel-2.4.22-1.2188.nptl.src.rpm. And it doesnt come up with any errors, but I still cant install the ALSA drivers or nvidia drivers - they both come up with the error message saying that they need the kernels source. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 30, 2004 Veteran Share Posted April 30, 2004 Did you look to see if your RPM installed them where your script expected them? (/usr/src/linux) Link to comment Share on other sites More sharing options...
Recommended Posts