diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-13 18:20:28 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-13 18:20:28 +0100 |
| commit | 4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2 (patch) | |
| tree | 20585496bc3e661bad14808a404dc283b09c40f0 | |
| parent | edccc982e515e63a080a75fb49fd08b946f62cc6 (diff) | |
| download | busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.tar.gz busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.tar.bz2 busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.zip | |
inetd,mount: add comment with example of flags to build with libtirpc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | networking/inetd.c | 6 | ||||
| -rw-r--r-- | util-linux/mount.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 6843845fb..ca1a97268 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
| @@ -246,7 +246,11 @@ | |||
| 246 | #if ENABLE_FEATURE_INETD_RPC | 246 | #if ENABLE_FEATURE_INETD_RPC |
| 247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | 247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) |
| 248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" | 248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" |
| 249 | /* not #error, since user may be using e.g. libtirpc instead */ | 249 | /* not #error, since user may be using e.g. libtirpc instead. |
| 250 | * This might work: | ||
| 251 | * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc" | ||
| 252 | * CONFIG_EXTRA_LDLIBS="tirpc" | ||
| 253 | */ | ||
| 250 | # endif | 254 | # endif |
| 251 | # include <rpc/rpc.h> | 255 | # include <rpc/rpc.h> |
| 252 | # include <rpc/pmap_clnt.h> | 256 | # include <rpc/pmap_clnt.h> |
diff --git a/util-linux/mount.c b/util-linux/mount.c index 4eade0869..fa2e7b114 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
| @@ -244,7 +244,11 @@ | |||
| 244 | * uclibc faq entry rather than in busybox... */ | 244 | * uclibc faq entry rather than in busybox... */ |
| 245 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | 245 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) |
| 246 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" | 246 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" |
| 247 | /* not #error, since user may be using e.g. libtirpc instead */ | 247 | /* not #error, since user may be using e.g. libtirpc instead. |
| 248 | * This might work: | ||
| 249 | * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc" | ||
| 250 | * CONFIG_EXTRA_LDLIBS="tirpc" | ||
| 251 | */ | ||
| 248 | # endif | 252 | # endif |
| 249 | # include <rpc/rpc.h> | 253 | # include <rpc/rpc.h> |
| 250 | # include <rpc/pmap_prot.h> | 254 | # include <rpc/pmap_prot.h> |
