这期内容当中本站将会给大家带来有关怎么在Linux操作系统操作系统系统中使用移植中的mkfs.vfat命令,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。
思路1
重新移植移植
1.官网上下载最新的移植源码
2.修改文件
ARCH=手臂
CROSS _ COMPILE=/opt/hisi-Linux-nptl/arm-hisv 100-Linux/target/bin/arm-hisv 100 nptl-Linux-(9501 . 163.com)
2 .制作用于生成菜单
设置为静态库
3 .制作
出现错误
制作: * * *[busybox _ unstrepted]错误一
root @ chenwr-PC :/home/soft/busybox-1。31 .0 # make
LINKbusybox_unstripped
您的链接不支持排序部分对齐
您的链接不支持-排序-常见
Staticlinkingagainstglibc,can’tuse – gc-sections
tryinglibraries 3360 crypt resolve
Failed:-Wl,-start-group-lcrypt-lm-lresolv-Wl,- end-group
输出f:
/opt/hisi-Linux-nptl/arm-hisv 100-Linux/target/bin/arm-hisv 100 nptl-Linux-gcc-Wall-Wshadow-Wwrite-strings-Wundef-Wstrict-prototypes-Wunused-Wunused-parameter-Wunused-function-Wunused-value-Wmissing-prototypes-Wmissing-declaration-Wno-format-security-Wdeclaration-after-statement-Wold-style-definition-fno-内置
le-tools/built-in.ocoreutils/built-in.ocoreutils/libcoreutils/built-in.odebianutils/built-in.oklibc-utils/built-in.oe2fsprogs/built-in.oeditors/built-in.ofindutils/built-in.oinit/built-in.olibbb/built-in.olibpwdgrp/built-in.ologinutils/built-in.omailutils/built-in.omiscutils/built-in.omodutils/built-in.onetworking/built-in.onetworking/libiproute/活动:慈云数据爆款香港服务器,CTG+CN2高速带宽、快速稳定、平均延迟10+ms 速度快,免备案,每月仅需19元!! 点击查看built-in.onetworking/udhcp/built-in.oprintutils/built-in.oprocps/built-in.orunit/built-in.oselinux/built-in.oshell/built-in.osysklogd/built-in.outil-linux/built-in.outil-linux/volume_id/built-in.o-Wl,–end-group-Wl,–start-group-lcrypt-lm-lresolv-Wl,–end-group==========networking/lib.a(ipcalc.o):Infunction`ipcalc_main’:ipcalc.c:(.text.ipcalc_main+0x24c):warning:gethostbyaddrisobsolescent,usegetaddrinfo()instead.libbb/lib.a(inet_common.o):Infunction`INET_resolve’:inet_common.c:(.text.INET_resolve+0x60):warning:gethostbynameisobsolescent,usegetnameinfo()instead.coreutils/lib.a(mktemp.o):Infunction`mktemp_main’:mktemp.c:(.text.mktemp_main+0x8c):warning:theuseof`mktemp’isdangerous,betteruse`mkstemp’networking/lib.a(nslookup.o):Infunction`add_query’:nslookup.c:(.text.add_query+0x70):undefinedreferenceto`res_mkquery’networking/lib.a(nslookup.o):Infunction`send_queries’:nslookup.c:(.text.send_queries+0x2d0):undefinedreferenceto`__ns_initparse’nslookup.c:(.text.send_queries+0x308):undefinedreferenceto`__ns_parserr’nslookup.c:(.text.send_queries+0x480):undefinedreferenceto`__ns_get16’nslookup.c:(.text.send_queries+0x5cc):undefinedreferenceto`__ns_get32’nslookup.c:(.text.send_queries+0x5e4):undefinedreferenceto`__ns_get32’nslookup.c:(.text.send_queries+0x5fc):undefinedreferenceto`__ns_get32’nslookup.c:(.text.send_queries+0x614):undefinedreferenceto`__ns_get32’nslookup.c:(.text.send_queries+0x628):undefinedreferenceto`__ns_get32’util-linux/lib.a(fallocate.o):Infunction`fallocate_main’:fallocate.c:(.text.fallocate_main+0x80):undefinedreferenceto`posix_fallocate’util-linux/lib.a(unshare.o):Infunction`unshare_main’:unshare.c:(.text.unshare_main+0x1ec):undefinedreferenceto`unshare’collect2:ldreturned1exitstatusNote:ifbuildneedsadditionallibraries,puttheminCONFIG_EXTRA_LDLIBS.Example:CONFIG_EXTRA_LDLIBS=”pthreaddltirpcauditpam”make:***[busybox_unstripped]Error1
重新make menuconfig 进入设置把报错的模块关闭不勾选。
便宜香港vps
参考网上的说法,还是会有很多错误。而且关闭很多网络的东西和系统的配置,担心万一影响到其他命令呢。因为我发现原来移植后的busybox,比如ls命令,不是单独的一个bin文件。而是软连接到busybox中
而且我发觉设备的空间有限,原先的busybox才800多k,即使新移植成功也要2M多。于是换个思路,单独源码移植mkfs.vfat
上述就是小编为大家分享的怎么在Linux系统中使用busybox中的mkfs.vfat命令了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注亿速云行业资讯频道。
《怎么在Linux系统中使用busybox中的mkfs.vfat命令》来自互联网同行内容,若有侵权,请联系我们删除!
还没有评论,来说两句吧...