On Fri, 2002-07-26 at 19:51, nDiScReEt wrote:
> On Friday 26 July 2002 9:30 pm, David Bolin wrote:
> > >
> > > So, I am correct that is is due to your system having and using gcc3.2
> > > while your kernel was compiled with gcc3.2, right?
> >
> > 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] Error 1
> > + exit 0
>
> Yes, that was the problem. In order to through the IGNORE_CC_MISMATCH option,
> you will have to use the tarball instead unless you download the SRPM and add
> that option into the spec file.
>
hmmm,
IGNORE_CC_MISMATCH=1 rpm --rebuild NVIDIA_blah-srpm
That should also work.
=o=
kk1