Is a compilation depend on the running kernel?
Enrico Weigelt wrote:
> > > say I have very lean kernel on the target, how I can compile
> > > against the target kernel?
> > This is a non-issue for most packages because the kernel interface
> > can be considered stable.
> No, they can't, especially in embedded world.
Obviously there is a limit to every definition of stable. But it is
my impression that Linux does not change API at a whim.
> The biggest problem is certain ill-designed packages which try to
> guess something from the *running* system. This can only be solved
> in the source.
Sure, and this is a problem with individual packages. Not so much
with the kernel. The packages can be fixed.
> > Do you have a problem with some package?
> Just from the tip of my head, in recent years: network utils,
> drbd, etc, ...
Because the recommended API to use was changed, or?