觉得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>.
本文探讨了BusyBox中libc库版本与Linux内核特性的兼容性问题,提供了检查版本、下载源码、自行修改及更新版本的具体步骤,并展示了如何使用readelf工具查看依赖的libc库版本详情。
577

被折叠的 条评论
为什么被折叠?



