diff mbox

iputils: needs mmu

Message ID 1379901222.31674.0.camel@phoenix
State Accepted
Commit bf22677b61c8b1760ba96c4ba9b75b5db853e971
Headers show

Commit Message

Axel Lin Sept. 23, 2013, 1:53 a.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This fixes below build errors with nommu:
/tmp/ccHDVaoW.o: Inrarp_lookup function '`do_fork':
): undefined reference to `fork'
collect2: rarpd.cld returned 1 exit status:
(.text+0x690): make[1]: warning*** [rdisc] Error 1
:make[1]: *** Waiting for unfinished jobs....
 gethostbyname is obsolescent, use getnameinfo() instead.
/tmp/ccTnxssg.o: In function `main':    
rarpd.c:(.text+0xffc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[1]: *** [rarpd] Error 1

 package/iputils/Config.in | 1 +
 1 file changed, 1 insertion(+)


Peter Korsgaard Sept. 23, 2013, 7:44 a.m. UTC | #1
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Committed, thanks.
diff mbox


diff --git a/package/iputils/Config.in b/package/iputils/Config.in
index 0c77b5f..d4d2829 100644
--- a/package/iputils/Config.in
+++ b/package/iputils/Config.in
@@ -1,6 +1,7 @@ 
 	bool "iputils"
 	select BR2_OPENSSL if BR2_INET_IPV6
+	depends on BR2_USE_MMU # fork()
 	  This package is set of small useful utilities for Linux networking.
 	  It includes complete versions of ping, traceroute, etc.