Bug#220624: libc6-dev: breaks builds on 2.4 systems because depending on linux-kernel-headers which contain 2.5 headers
On Thu, Nov 13, 2003 at 12:02:14PM -0700, Alex Tsariounov wrote:
> Package: libc6-dev
> Version: 2.3.2.ds1-10
> Severity: normal
>
>
> Seems that libc6-dev depends on linux-kernel-headers which contain 2.5
> kernel headers. On a 2.4 system, and perhaps this also applies to
> 2.5/2.6 systems too, any source that includes <linux/module.h> breaks
> with compiler errors. Attached below is some test code that makes use
> of the public interface of query_module(). This builds on pre-ds1-*
> libc6-dev systems, but breaks immediately on the current ds1-10 version.
Libc still includes query_module. The function will work; you'll need
to copy the constants, types, and prototype into your application. Or
an old copy of <linux/module.h>.
This isn't a new thing. You've always needed to treat <linux/*> this
way.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: