Skip to contentSkip to conversation

iputils: needs mmu

PATCH New Axel Lin 2 participants 2 messages Sep 23, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 iputils: needs mmu

---
This fixes below build errors with nommu:
/tmp/ccHDVaoW.o: Inrarp_lookup function '`do_fork':
rdisc.c::(.text+0x988
): 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(+)
package/iputils/Config.in +1 -0
index 0c77b5f..d4d2829 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_IPUTILS
 	bool "iputils"
 	select BR2_OPENSSL if BR2_INET_IPV6
+	depends on BR2_USE_MMU # fork()
 	help
 	  This package is set of small useful utilities for Linux networking.
 	  It includes complete versions of ping, traceroute, etc.
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 iputils: needs mmu

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Axel" == Axel Lin <[email protected]> writes:

Axel> Signed-off-by: Axel Lin <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard