[Buildroot] [PATCH] rtptools: needs RPC support

Vicente Olivert Riera Vincent.Riera at imgtec.com
Wed Sep 23 11:57:59 UTC 2015


rtptools needs a toolchain with RPC support, otherwise it will fail with
an error message like this one:

host2ip.c:13:38: fatal error: rpcsvc/ypclnt.h: No such file or directory
 #include <rpcsvc/ypclnt.h>   /* YP */

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
 package/rtptools/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/rtptools/Config.in b/package/rtptools/Config.in
index 80bbb7a..a798960 100644
--- a/package/rtptools/Config.in
+++ b/package/rtptools/Config.in
@@ -1,5 +1,9 @@
+comment "rtptools needs a toolchain w/ RPC"
+	depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+
 config BR2_PACKAGE_RTPTOOLS
 	bool "rtptools"
+	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	help
 	  The rtptools distribution consists of a number of small
 	  applications that can be used for processing RTP data.
-- 
1.7.1



More information about the buildroot mailing list