reassign 445075 kernel-package
severity 445075 wishlist
retitle 445075 Please Depends: on the used compiler in linux-headers-*
thanks

When a linux-headers-* package is created with make-kpkg, it doesn't depend on 
the used gcc compiler as official packages do. This makes module building  
fail when the needed compiler is not there anymore

On Wednesday 03 October 2007 16:15:50 Sven Joachim wrote:
> Felipe Sateler <[EMAIL PROTECTED]> writes:
> > On Wednesday 03 October 2007 04:07:00 Sven Joachim wrote:
> >> 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.
> >
> > Indeed, 4.1 it is. Maybe linux-headers-<kvers> should Recommend the
> > version used to compile it,
>
> The official Debian linux-header-<kvers> packages actually _depend_ on
> it.  Don't know about home-brewn packages generated with make-kpkg.
>
> > or is this an nvidia-specific requirement?
>
> No, this holds for all modules, AFAIK.
>
> Cheers,
>        Sven



-- 

        Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to