MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
I was trying to install the NVIDIA driver 8762 on my system. The installer however complains I havenīt used the right gcc.
I tried export CC but I cannot remeber the correct command to export CC to allow the Nvidia driver to install. Can anyone help?
I think more exactly what it wants is the libc development files , does anyone know the correct name ? I tried exporting what I thought was the correct gcc version 4.0.1, but it didnīt work. Still complains cannot find the make files.
Exact error messages are always infinitely more useful.
To build a kernel module for the running kernel you need the kernel source for that specific version installed in /usr/src and you need to use the version of gcc used to compile it originally. Fun stuff huh?
Low and behold I don have that kernel source available in urpmi...what the...
[root@localhost flebber]# urpmi -s 2.6.12-19mdk-i586-up-1GB
unable to access hdlist file of "update_source", medium ignored
no package named 2.6.12-19mdk-i586-up-1GB
If you want to use nvidia drivers, I suggest that you use the default 2.6.x kernel instead of 2.6.12-19mdk-i586-up-1GB. The last time I tried to use 2.6.12-19mdk-i586-up-1GB, the nvidia drivers would not compile because the installer thought the kernel and source did not match. Using the default kernel worked flawlessly.
I think that about sums my problem up. Well I am going to have to install a new kernel.
Which one ? Besides 2.6.12 I also have the option of the 2.6.14 kernel . I thought even numbers are suppossed to be more stable but has much been said about stability of this kernel (2.6.14). I can see slackware has 2.6.13 in the testing branch, and he tends to go for stable so why I wonder the .13 option.
Secondly, would I be able to get away with installing the kernel-source-stripped option with the new kernel. rather than the full source.
This just saves 140mb of download as stripped is 65Mb and full is 205Mb.
The 2.6.12 kernels are the stable kernels in the current Mandriva release.
Even or odd kernel version numbers doesn't matter anymore since the 2.6 series came out. Linus changed the version numbering.
IMO stripped source should work just be careful the source should match the running kernel e.g. if you're using or upgrading now to 2.6.12-22mdk then the source should be 2.6.12-22mdk too.
Personally I wouldn't bother with the kernel-srtipped source packages because they are missing a lot of stuff thats in the full kernel source. If your read the full description of each package, you will find that some kernel packages are not for day to day use because they are stripped of certain things or are strictly for development purposes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.