Re: package does not build everywhere due to midding header -- help sought
On Fre, 2003-04-04 at 16:32, Hilko Bengen wrote:
>
> I maintain the ulog-acctd package and have the problem that it does
> not build on every architecture because a header file
> (/usr/include/linux/netfilter/ipt_ULOG.h) is missing. At the moment,
> the affected architectures are arm and m68k. This file is supposed to
> be part of libc6-dev and as I understand the glibc build process,
> headers to be included are taken from the installed kernel package.
>
> To my knowledge, Netfilter's ULOG target (and thus ipt_ULOG.h)
> appeared in kernel version 2.4.18. On neither architecture, kernel
> versions greater than 2.4.17 are available, so I guess using
> ulog-acctd on those architectures would not make much sense, anyhow.
>
> In previous versions of ulog-acctd, I solved the problem by shipping
> ipt_ULOG.h in the .diff, but my AM Andrew Suffield told me that this
> is an ugly hack -- and I really have to agree.
Why? IMHO that's the only sensible solution for kernel headers. What if
a future version of ulog-acctd needs something that the ipt_ULOG.h
provided by libc6-dev doesn't provide yet, for example?
--
Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer
Reply to: