summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-10 14:43:22 +0200
committerDenys Vlasenko2017-07-10 14:43:22 +0200
commitce55284ed6f5b5303d9e45d034287c728ef9b05a (patch)
tree4b52c7e0e6dbafd5cbad502e13dd205e7ed91524
parentb057806a6ad7618b10db062bf6c71d09f71ce421 (diff)
downloadbusybox-ce55284ed6f5b5303d9e45d034287c728ef9b05a.zip
busybox-ce55284ed6f5b5303d9e45d034287c728ef9b05a.tar.gz
inetd,mount: do not die if uclibc without RPC is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/inetd.c3
-rw-r--r--util-linux/mount.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 39169a9..3bf157b 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -227,7 +227,8 @@
#if ENABLE_FEATURE_INETD_RPC
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
-# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
+# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support"
+ /* not #error, since user may be using e.g. libtirpc instead */
# endif
# include <rpc/rpc.h>
# include <rpc/pmap_clnt.h>
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 6bb1852..5fcc795 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -246,7 +246,8 @@
/* This is just a warning of a common mistake. Possibly this should be a
* uclibc faq entry rather than in busybox... */
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
-# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
+# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support"
+ /* not #error, since user may be using e.g. libtirpc instead */
# endif
# include <rpc/rpc.h>
# include <rpc/pmap_prot.h>