编译busybox遇到mount.c:(.text.nfsmount+0x): undefined reference to
Posted 别人都叫我陈科
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译busybox遇到mount.c:(.text.nfsmount+0x): undefined reference to相关的知识,希望对你有一定的参考价值。
如下:
mount.c:(.text.nfsmount+0xa68): undefined reference to `authunix_create_default’
mount.c:(.text.nfsmount+0xaeb): undefined reference to `clnt_sperror’
mount.c:(.text.nfsmount+0xb12): undefined reference to `clnt_sperror’
mount.c:(.text.nfsmount+0xca5): undefined reference to `bindresvport’
mount.c:(.text.nfsmount+0xcee): undefined reference to `pmap_getport’
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
解决方法:
make menuconfig
去掉如下选项
Linux System Utilities —> [ ] Support mounting NFS file systems 网络文件系统
Networking Utilities —> [ ] inetd (Internet 超级服务器 )
Networking Utilities —> [ ] inetd (Internet 超级服务器 )
以上是关于编译busybox遇到mount.c:(.text.nfsmount+0x): undefined reference to的主要内容,如果未能解决你的问题,请参考以下文章