[pkg-nvidia-devel] Bug#445075: nvidia-kernel-source: gcc-4.1 is needed by the makefile but is not depended upon

Sven Joachim svenjoac at gmx.de
Wed Oct 3 08:07:00 UTC 2007


Felipe Sateler <fsateler at gmail.com> writes:

> nvidia-kernel-source doesn't Depends: gcc-4.1, yet the build fails
> without it:
>
> $ m-a build nvidia
> ... snip ...
> if ! gcc-4.1 -v 2> /dev/null  ; then \
>            echo "Compiler gcc-4.1 does not exist on the system" ; \
>            exit 1; \
>         fi
> Compiler gcc-4.1 does not exist on the system
> make[1]: *** [configure-stamp] Error 1

The Nvidia module must be compiled with the same compiler as the
kernel it is built for, a dependency on a specific GCC version would
be wrong.

> Kernel: Linux 2.6.21-felipe (PREEMPT)

Which was built with what compiler (look in /proc/version)?  From the
m-a messages I suspect it's gcc-4.1.

Regards,
        Sven






More information about the Pkg-nvidia-devel mailing list