On Sunday 09 Jun 2002 11:10, daniel beck wrote:
> hi !
> I use cooker with the standart kernel 2.18-19. I
> wanted to install the driver from nvidia, but there is
> no way installing the src.rpm. there is also no way
> compiling the NVIDIA_kernel.tar.gz.I always got :
> "make install
>
>
> You appear to be compiling the NVdriver kernel module
> with
> a compiler different from the one that was used to
> compile
> the running kernel. This may be perfectly fine, but
> there
> are cases where this can lead to unexpected behaviour
> and
> system crashes.
>
>
>
> If you know what you are doing and want to override
> this
> check, you can do so by setting IGNORE_CC_MISMATCH.
>
>
>
> In any other case, set the CC environment variable to
> the
> name of the compiler that was used to compile the
> kernel.
>
>
> *** Failed cc sanity check. Bailing out! ***
> make: *** [gcc-check] Fehler 1"
>
> I use gcc3.1.1-0.2, and I thought the kernel was
> compiled with gcc3. Can someone perhaps package an rpm
> file for nvidia(plf perhabs?)
>
Get the nVidia tarballs, then:

g=$(cat /proc/version|awk '{print $7}')
export CC=gcc-$g
export IGNORE_CC_MISMATCH=1
cd <where-you-extracted-nvidia-kernel>
make clean
sudo make install
cd <where-you-extracted-nvidia-GLX>
sudo make install

-- 
Mandrake Linux release 8.2 (Bluebird) for i586
AMD Athlon(tm) XP 1600+  512MB   Kernel: 2.4.18-6mdk-pnr-win4lin
KDE: 3.0.1               Qt: 3.0.4       up 1 day 10 hours 42 minutes.
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~


Reply via email to