From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020712
Description of problem:
Compile Nvidia drivers from tar.gz file. Compiles fine with errors on load of
NVdriver module. The error on load says that the kernel was compiled with GCC 3
but the compiler is only 2.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download nvidia drivers tarball 2960
2. untar NVIDIA_kernel, compile with make install and see the errors.
Expected Results: Worked fine on Limbo betas
Part of the nvidia module is compiled with gcc 2.96 or 2.95
It is known that gcc 2.x compiled (or partially compiled) modules don't work in
gcc 3.2 compiled kernels so insmod nicely warns you before disaster hits.
you can use insmod -f to override and corrupt all the data on your disk ;)
I have tried to force the load with insmod -f NVdriver which does load the
module, but then the X server will complain it cannot find the driver.
As an added note, the proper solution for this will be for Nvidia
to provide both gcc 2.96 compiled, and gcc 3.2 compiled versions
of their drivers. That will provide the maximum compatibility for
Most likely they'll release drivers compiled with gcc 3.2 once
distributions are officially released which are gcc 3.2 based.
I worked around this problem, may be useful to others:
- Install compat-gcc-7.3-2.96-110 from disc 2.
- Compile a custom kernel with make CC=gcc296 bzImage modules
- Compile the nVidia kernel driver with make CC=gcc296