inetd,mount: add comment with example of flags to build with libtirpc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
edccc982e5
commit
4892f3a4c7
@ -246,7 +246,11 @@
|
|||||||
#if ENABLE_FEATURE_INETD_RPC
|
#if ENABLE_FEATURE_INETD_RPC
|
||||||
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||||
# warning "You probably 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 */
|
/* not #error, since user may be using e.g. libtirpc instead.
|
||||||
|
* This might work:
|
||||||
|
* CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc"
|
||||||
|
* CONFIG_EXTRA_LDLIBS="tirpc"
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
# include <rpc/rpc.h>
|
# include <rpc/rpc.h>
|
||||||
# include <rpc/pmap_clnt.h>
|
# include <rpc/pmap_clnt.h>
|
||||||
|
@ -244,7 +244,11 @@
|
|||||||
* uclibc faq entry rather than in busybox... */
|
* uclibc faq entry rather than in busybox... */
|
||||||
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||||
# warning "You probably 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 */
|
/* not #error, since user may be using e.g. libtirpc instead.
|
||||||
|
* This might work:
|
||||||
|
* CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc"
|
||||||
|
* CONFIG_EXTRA_LDLIBS="tirpc"
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
# include <rpc/rpc.h>
|
# include <rpc/rpc.h>
|
||||||
# include <rpc/pmap_prot.h>
|
# include <rpc/pmap_prot.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user