首页 > 代码库 > 编译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 超级服务器 )

编译busybox遇到mount.c:(.text.nfsmount+0x): undefined reference to