Message ID | 1380964029.3121.0.camel@phoenix |
---|---|
State | Accepted |
Commit | f1b0e95a245aaa5fe6efe9cd6b9ae6a0fe48c4b1 |
Headers | show |
>>>>> "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.
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
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(+)