觉得busybox 里面用的一些libc 库函数不支持Linux的一些内核特性,需要更新,怎么办?
首先就是要查看版本,然后去下载代码过来看,如果有必要自己改一下,更新一下版本值了IDE,或者想办法避开。
readelf -a /bin/busybox |grep NEEDED
0x00000001 (NEEDED) Shared library: [libc.so.6]
~ # ./lib/libc.so.6
GNU C Library (Buildroot) stable release version 2.21, by Roland McGrath et al.
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.9.3.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: MIPS_PLT UNIQUE MIPS_O32_FP64
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.