首页 > 代码库 > 编译busybox遇到mount.c:(.text.nfsmount+0x): undefined reference to
编译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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。