Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] ndisc6: needs mmu
@ 2013-10-05  9:07 Axel Lin
  2013-10-05 19:12 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-10-05  9:07 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/ndisc6/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/ndisc6/Config.in b/package/ndisc6/Config.in
index 6abe4ce..095b2e8 100644
--- a/package/ndisc6/Config.in
+++ b/package/ndisc6/Config.in
@@ -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
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] ndisc6: needs mmu
  2013-10-05  9:07 [Buildroot] [PATCH] ndisc6: needs mmu Axel Lin
@ 2013-10-05 19:12 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-10-05 19:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> 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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-05 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-05  9:07 [Buildroot] [PATCH] ndisc6: needs mmu Axel Lin
2013-10-05 19:12 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox