coreutils 编译
因需要dd 工具(busybox dd工具参数不全)需要编译coreutils
coreutils介绍 可参考:
https://iamzero.blog.csdn.net/article/details/80270379
1.获取代码git clone git://git.sv.gnu.org/coreutils
2.编译步骤:(Ubuntu18.04编译环境)
./bootstrap
3…/configure && make -j8
编译后发现一直报编译错误“lib/acl-internal.c: In function ‘free_permission_context’:
lib/acl-internal.c:479:1: error: function might be candidate for attribute ‘cons
t’ [-Werror=suggest-attribute=const]”
./configure --disable-gcc-warnings(即可解决)
make -j8