LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   2.6.10 kernel compile questions (https://www.linuxquestions.org/questions/slackware-14/2-6-10-kernel-compile-questions-277665/)

YBA^[x] 01-14-2005 06:49 AM

2.6.10 kernel compile questions
 
Hey.

I've been trying to compile the 2.6.10 kernel and have a few question related to this. I'm currently running Slackware 10.0 with the stock 2.4.26 kernel. Here goes.

1. Is the 2.6.10 kernel a bad choice? Which, if any, patches do I need? (same goes for other kernels if any other is recomended)

2. I have a Creative SB Live sound card. I've noticed that in the kernel .confg that there is CONFIG_SND_AC97_CODEC=y and CONFIG_SND_EMU10K1=y, though I belive I only chose the emu10k1. Do I need both?

3. After my last compile, when reinstalling the nvidia driver, I got this error:
Code:

gcc-version-check failed:

The string "(gcc" was not found in the /proc/version string: "Linux version 2.6.10 (root@master)
(GCC version 3.3.4) #3 Fri Jan 14 03:31:54 CET 2005"; please report this error to
linux-bugs@nvidia.com

If you know what you are doing and want to ignore the gcc version check, select "No" to
continue installation.  Otherwise, select "Yes" to abort installation, set the CC environment
variable to the name of the compiler used to compile your kernel, and restart installation.

I have absolutely no idea what this is about. I also got an error about riva being loaded as a module or compiled into the kernel, and the the installer quits (maybe it's not remembered correctly), would compiling without riva/geforce support solve this issue?

Thanks.

Regards.

slightcrazed 01-14-2005 08:40 AM

The Riva FB driver that comes with the kernel is incompatible with the Nvidia driver and should NOT be compiled into the kernel. Feel free to compile it as a module if you must, but understand that loading it into the kernel will cause the Nvidia driver to fail. Best just to leave it out all together if you don't absolutely need it.

For your sound blaster card, you shouldn't need the AC97 driver, just the Emu10k1 driver.

As for the gcc versioning error that you get when compiling the Nvidia module, have you tried the forums over at Nvidia? I know I have seen this error before and that there is a fairly simple solution to it, if anything the Nvidia linux forum should have the answer.

slight

reddazz 01-14-2005 09:11 AM

I usually make xconfig and remove all the default selections that are not needed on my system. You may need to do the and remove unnecessary selections like the AC97 driver coz thery are not useful to you in any way.

YBA^[x] 01-20-2005 02:54 PM

I appreciate your replies.

For those who might need to know. Doing
Code:

export IGNORE_CC_MISMATCH=1
before running the installer fixes the gcc issue with the nvidia driver.


All times are GMT -5. The time now is 07:24 AM.