Skip to contentSkip to conversation

ndisc6: needs mmu

PATCH New Axel Lin 2 participants 2 messages Oct 5, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ndisc6: needs mmu

Fix below build error if !BR2_USE_MMU:

tcpspray.o: In function `tcpspray':
tcpspray.c:(.text+0x4a8): undefined reference to `fork'
collect2: ld returned 1 exit status
make[3]: *** [tcpspray] Error 1

---
 package/ndisc6/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/ndisc6/Config.in +1 -0
index 6abe4ce..095b2e8 100644
@@ -4,6 +4,7 @@ comment "ndisc6 requires a toolchain with IPv6 support"
 config BR2_PACKAGE_NDISC6
 	bool "ndisc6 tools"
 	depends on BR2_INET_IPV6
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  NDisc6 is a small collection of useful tools for IPv6 networking
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 ndisc6: needs mmu

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

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

Axel> Fix below build error if !BR2_USE_MMU:
Axel> tcpspray.o: In function `tcpspray':
Axel> tcpspray.c:(.text+0x4a8): undefined reference to `fork' Axel> collect2: ld returned 1 exit status
Axel> make[3]: *** [tcpspray] Error 1

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard