Compile error for latest snapshot(20110328)

Denys Vlasenko vda.linux at googlemail.com
Tue Mar 29 16:34:31 UTC 2011


On Tue, Mar 29, 2011 at 2:34 PM, Stefan Seyfried
<stefan.seyfried at googlemail.com> wrote:
> On Mon, 28 Mar 2011 21:39:09 +0200
> Baruch Siach <baruch at tkos.co.il> wrote:
>
>> The UBI attach/detach functionality is not available in kernels older than
>> 2.6.25. Enabling this applet on such an old kernel doesn't make sense.
>
> Ok, that's a valid argument :-)
>
> Maybe #error'ing out with "your kernel headers are probably too old..."
> would be an option. I'll try to cook something up.

This will only clutter code up. Think how useless such check
becomes in a year or two...

-- 
vda


More information about the busybox mailing list