[uclibc-ng-devel] [uclibc-ng] Fail to build [libc/inet/if_index.os] when building uClibc-ng 1.0.12 with 2.6.22.19 kernel headers

Waldemar Brodkorb wbx at uclibc-ng.org
Tue Feb 9 20:46:21 CET 2016


Hi Alex,
Alex Potapenko wrote,

> Hi,
> 
> I need to build a mipsel toolchain with pretty old kernel headers
> (2.6.22.19: http://wl500g.googlecode.com/files/linux-2.6.22.19.tar.bz2).
> This leads to an error, very similar to the one described here:
> https://bugs.busybox.net/show_bug.cgi?id=6278 (see exact output in
> error.log attached).
> I think this is a kernel bug, but I do need a 2.6.22 toolchain for
> better mipsel routers support (many of them, like Asus ones, run
> 2.6.22.19 kernels, and using a toolchain with newer kernel headers has
> proved to cause numerous issues). Is there a possible workaround for
> this issue?

I rather would like to avoid supporting such very old kernels.
The oldest supported kernel is 2.6.32.70.
Could you try using this for the toolchain?
What runtime problems occur, when you use 2.6.32.70 for toolchain
and then run the code on 2.6.22.19?

I verified that 2.6.32.70 works with uClibc-ng for mipsel toolchain.

best regards
 Waldemar


More information about the devel mailing list