summaryrefslogtreecommitdiffhomepage
path: root/util-linux/nfsmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/nfsmount.c')
-rw-r--r--util-linux/nfsmount.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 842fa0351..75f341a92 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -52,6 +52,12 @@
#include <rpc/pmap_clnt.h>
#include "nfsmount.h"
+/* This is just a warning of a common mistake. Possibly this should be a
+ * * uclibc faq entry rather than in busybox... */
+#if ENABLE_FEATURE_MOUNT_NFS && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
+#error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support."
+#endif
+
/*
* NFS stats. The good thing with these values is that NFSv3 errors are